diff options
| author | transtrike <transtrike@gmail.com> | 2021-02-16 18:07:51 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-02-16 18:07:51 +0200 |
| commit | 72502154725594cf31878aa944f4bc9d9f3521a3 (patch) | |
| tree | 6ea1f475f35fba320b32664084d4c39e2d084e49 /src/Common/DevHive.Common.Models | |
| parent | a2ca63701b71eed2ffa3fff6de16b9babe8bba08 (diff) | |
| download | DevHive-72502154725594cf31878aa944f4bc9d9f3521a3.tar DevHive-72502154725594cf31878aa944f4bc9d9f3521a3.tar.gz DevHive-72502154725594cf31878aa944f4bc9d9f3521a3.zip | |
UserManager&RoleManager logic moved to Repo; Password hashing and validation moved to Repo and using ASPNET Core hashing methods; Added Migrations; Fixed Roles not added to user
Diffstat (limited to 'src/Common/DevHive.Common.Models')
| -rw-r--r-- | src/Common/DevHive.Common.Models/Misc/PasswordModifications.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Common/DevHive.Common.Models/Misc/PasswordModifications.cs b/src/Common/DevHive.Common.Models/Misc/PasswordModifications.cs deleted file mode 100644 index f10a334..0000000 --- a/src/Common/DevHive.Common.Models/Misc/PasswordModifications.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Security.Cryptography; -using System.Text; - -namespace DevHive.Common.Models.Misc -{ - public static class PasswordModifications - { - public static string GeneratePasswordHash(string password) - { - return string.Join(string.Empty, SHA512.HashData(Encoding.ASCII.GetBytes(password))); - } - } -} |
