Middleware javítás

This commit is contained in:
2025-03-21 09:57:07 +01:00
parent 6dcc4989ac
commit efecf55dd8
3 changed files with 15 additions and 5 deletions
@@ -1,3 +1,4 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity.Data;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
@@ -7,6 +8,7 @@ using WorkFlowCheck.Web.Services.Interfaces;
namespace WorkFlowCheck.Web.Pages.Account
{
[AllowAnonymous]
public class LoginModel : PageModel
{
@@ -72,11 +72,12 @@
},
data: JSON.stringify(formData.CheckListTemplateRow),
success: function (response) {
showMessageModal({
title: 'Figyelmem!',
message: 'Sikeres mentés.',
okText: 'Értettem'
});
// showMessageModal({
// title: 'Figyelmem!',
// message: 'Sikeres mentés.',
// okText: 'Értettem'
// });
history.back();
},
error: function (xhr, status, error) {
// Hiba esetén