aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/User/PasswordService.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-27 19:29:20 +0800
committercrupest <crupest@outlook.com>2021-04-27 19:29:20 +0800
commita6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30 (patch)
tree65ad2e897051d36ca49896e0df66841df4bffd6f /BackEnd/Timeline/Services/User/PasswordService.cs
parentcb3d8d0997679d2b9a961ec92b6555af4c4ef53f (diff)
downloadtimeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.tar.gz
timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.tar.bz2
timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/Services/User/PasswordService.cs')
-rw-r--r--BackEnd/Timeline/Services/User/PasswordService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Services/User/PasswordService.cs b/BackEnd/Timeline/Services/User/PasswordService.cs
index 1c14875f..5c2062dd 100644
--- a/BackEnd/Timeline/Services/User/PasswordService.cs
+++ b/BackEnd/Timeline/Services/User/PasswordService.cs
@@ -19,7 +19,7 @@ namespace Timeline.Services.User
public HashedPasswordBadFromatException(string message, Exception inner) : base(message, inner) { }
public HashedPasswordBadFromatException(string hashedPassword, string reason, Exception? inner = null)
- : base(string.Format(CultureInfo.InvariantCulture, Resource.ExceptionHashedPasswordBadFormat, reason), inner) { HashedPassword = hashedPassword; }
+ : base(string.Format(CultureInfo.CurrentCulture, Resource.ExceptionHashedPasswordBadFormat, reason), inner) { HashedPassword = hashedPassword; }
protected HashedPasswordBadFromatException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }