diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-27 21:47:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 21:47:14 +0800 |
commit | dc8269f1034d155e74ea4807d44c755fb83a7630 (patch) | |
tree | 572a2ae5c65c484718b3bfda68fd8babc56fe6f2 /Timeline/Services/PasswordService.cs | |
parent | f0a317cc511a4a7b04a701c32881d1e3331f3711 (diff) | |
parent | cccaf4cfdc1b932882768975f409763c22ed1ee1 (diff) | |
download | timeline-dc8269f1034d155e74ea4807d44c755fb83a7630.tar.gz timeline-dc8269f1034d155e74ea4807d44c755fb83a7630.tar.bz2 timeline-dc8269f1034d155e74ea4807d44c755fb83a7630.zip |
Merge pull request #25 from crupest/auth
Refactor a lot, especially authentication.
Diffstat (limited to 'Timeline/Services/PasswordService.cs')
-rw-r--r-- | Timeline/Services/PasswordService.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/Services/PasswordService.cs b/Timeline/Services/PasswordService.cs index 8eab526e..106080f1 100644 --- a/Timeline/Services/PasswordService.cs +++ b/Timeline/Services/PasswordService.cs @@ -24,6 +24,8 @@ namespace Timeline.Services bool VerifyPassword(string hashedPassword, string providedPassword); } + //TODO! Use exceptions!!! + /// <summary> /// Copied from https://github.com/aspnet/AspNetCore/blob/master/src/Identity/Extensions.Core/src/PasswordHasher.cs /// Remove V2 format and unnecessary format version check. |