Changed Auth to use Identity, with easy to set passsword requirenments via appsettings.json

This commit is contained in:
Matěj Kubíček
2026-05-01 18:07:27 +02:00
parent 3581fce0df
commit ea11e6969b
25 changed files with 1107 additions and 561 deletions
@@ -0,0 +1,9 @@
using TemplateWeb.Entities;
namespace TemplateWeb.Models;
public class UserWithRolesViewModel
{
public UserEntity UserEntity { get; set; } = null!;
public IList<string> Roles { get; set; } = [];
}