diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-06 07:41:35 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-06 07:41:35 +0300 |
commit | 0c4d13caed53b2702eef41461d0c8a4b25df48f6 (patch) | |
tree | 6fb6d2d54cedce1c204fb30b75f4d470fbf7ee83 /Models/LoginModel.cs | |
parent | cdd58a8f518d037658518c233e74beea22d03906 (diff) |
Base authorization/authentification
Diffstat (limited to 'Models/LoginModel.cs')
-rw-r--r-- | Models/LoginModel.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Models/LoginModel.cs b/Models/LoginModel.cs new file mode 100644 index 0000000..93485c8 --- /dev/null +++ b/Models/LoginModel.cs @@ -0,0 +1,13 @@ +using System.ComponentModel.DataAnnotations; + +namespace MyDarling.Models; +public class LoginModel +{ + [Required] + public string? Name { get; set; } + + [Required] + public string? Password { get; set; } + + public string ReturnUrl { get; set; } = "/Bundle"; +}
\ No newline at end of file |