Fixed my stupid totp login mistakes

This commit is contained in:
Marcel Baumgartner
2023-04-03 03:10:08 +02:00
parent 675dd45cb6
commit ddaba17c43
4 changed files with 72 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.App.Models.Misc;
namespace Moonlight.App.Models.Forms;
public class LoginDataModel
{

View File

@@ -0,0 +1,9 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.App.Models.Forms;
public class LoginTotpDataModel
{
[Required(ErrorMessage = "You need to enter a 2fa code")]
public string Code { get; set; } = "";
}