Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Common / DevHive.Common.Models / Misc / PasswordModifications.cs
diff options
context:
space:
mode:
Commit72502154725594cf31878aa944f4bc9d9f3521a3 (patch)
Author
 transtrike <transtrike@gmail.com>
2021-02-16 18:07:51 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-02-16 18:07:51 +0200
Files6ea1f475f35fba320b32664084d4c39e2d084e49 /src/Common/DevHive.Common.Models/Misc/PasswordModifications.cs
DevHive-72502154725594cf31878aa944f4bc9d9f3521a3.tar
DevHive-72502154725594cf31878aa944f4bc9d9f3521a3.tar.gz
DevHive-72502154725594cf31878aa944f4bc9d9f3521a3.zip
Parenta2ca63701b71eed2ffa3fff6de16b9babe8bba08 (diff)
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
1 files changed, 0 insertions, 13 deletions
-rw-r--r--src/Common/DevHive.Common.Models/Misc/PasswordModifications.cs13
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)));
- }
- }
-}