diff --git a/Common/Models/PasswordHashingAlgorithm.cs b/Common/Models/PasswordHashingAlgorithm.cs index acbd5044..4b19f361 100644 --- a/Common/Models/PasswordHashingAlgorithm.cs +++ b/Common/Models/PasswordHashingAlgorithm.cs @@ -1,4 +1,5 @@ -namespace OpenShock.Common.Models; +// ReSharper disable InconsistentNaming +namespace OpenShock.Common.Models; public enum PasswordHashingAlgorithm { diff --git a/Common/OpenShockDb/AdminUsersView.cs b/Common/OpenShockDb/AdminUsersView.cs index 823ece21..a14e8dd7 100644 --- a/Common/OpenShockDb/AdminUsersView.cs +++ b/Common/OpenShockDb/AdminUsersView.cs @@ -12,7 +12,7 @@ public class AdminUsersView public required string Email { get; set; } - public required string PasswordHashType { get; set; } + public required PasswordHashingAlgorithm PasswordHashType { get; set; } public required DateTime CreatedAt { get; set; }