Remove BTCPay completely, integrate SilverPAY only, configure TeleBot with real token
- Removed all BTCPay references from services and configuration - Implemented SilverPAY as sole payment provider (no fallback) - Fixed JWT authentication with proper key length (256+ bits) - Added UsersController with full CRUD operations - Updated User model with Email and Role properties - Configured TeleBot with real Telegram bot token - Fixed launchSettings.json with JWT environment variable - E2E tests passing for authentication, catalog, orders - Payment creation pending SilverPAY server fix 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
@model LittleShop.DTOs.LoginDto
|
||||
@using Microsoft.AspNetCore.Html
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Antiforgery
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Admin Login";
|
||||
Layout = null;
|
||||
var requestToken = Antiforgery.GetAndStoreTokens(Context);
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -23,8 +27,8 @@
|
||||
<h4><i class="fas fa-store"></i> LittleShop Admin</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="post" asp-area="Admin" asp-controller="Account" asp-action="Login">
|
||||
@Html.AntiForgeryToken()
|
||||
<form method="post" action="/Admin/Account/Login">
|
||||
<input name="@requestToken.FormFieldName" type="hidden" value="@requestToken.RequestToken" />
|
||||
@if (ViewData.ModelState[""]?.Errors.Count > 0)
|
||||
{
|
||||
<div class="alert alert-danger" role="alert">
|
||||
|
||||
Reference in New Issue
Block a user