refactor: change name enums

This commit is contained in:
2024-11-02 00:50:10 +03:00
parent eb272baa38
commit 23f74b3bdf
5 changed files with 11 additions and 12 deletions

View File

@ -17,7 +17,7 @@ public class Admin : ISaveSettings
public required string Email { get; set; }
public required string PasswordHash { get; set; }
public required string Salt { get; set; }
public SecondFactor SecondFactor { get; set; } = SecondFactor.None;
public TwoFactorAuthenticator TwoFactorAuthenticator { get; set; } = TwoFactorAuthenticator.None;
public string? Secret { get; set; }
public void SaveSetting()