Fixed my stupid totp login mistakes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Moonlight.App.Models.Misc;
|
||||
namespace Moonlight.App.Models.Forms;
|
||||
|
||||
public class LoginDataModel
|
||||
{
|
||||
9
Moonlight/App/Models/Forms/LoginTotpDataModel.cs
Normal file
9
Moonlight/App/Models/Forms/LoginTotpDataModel.cs
Normal 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; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user