aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-12 01:32:04 +0800
committercrupest <crupest@outlook.com>2020-01-12 01:32:04 +0800
commitf521f9fa30dc4dcc3c196250b81d6e9136b63da0 (patch)
tree026c480151e59998f75f8752085c0517db28d313 /Timeline/Services
parent0afcde8457499ef8ceb3e975177561bd0be3604d (diff)
downloadtimeline-f521f9fa30dc4dcc3c196250b81d6e9136b63da0.tar.gz
timeline-f521f9fa30dc4dcc3c196250b81d6e9136b63da0.tar.bz2
timeline-f521f9fa30dc4dcc3c196250b81d6e9136b63da0.zip
Fix a bug in wrong message of BadPasswordException.
Diffstat (limited to 'Timeline/Services')
-rw-r--r--Timeline/Services/BadPasswordException.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Services/BadPasswordException.cs b/Timeline/Services/BadPasswordException.cs
index ee8a42db..f609371d 100644
--- a/Timeline/Services/BadPasswordException.cs
+++ b/Timeline/Services/BadPasswordException.cs
@@ -6,11 +6,11 @@ namespace Timeline.Services
[Serializable]
public class BadPasswordException : Exception
{
- public BadPasswordException() : base(Resources.Services.Exception.UserNotExistException) { }
+ public BadPasswordException() : base(Resources.Services.Exception.BadPasswordException) { }
public BadPasswordException(string message, Exception inner) : base(message, inner) { }
public BadPasswordException(string badPassword)
- : base(Log.Format(Resources.Services.Exception.UserNotExistException, ("Bad Password", badPassword)))
+ : base(Log.Format(Resources.Services.Exception.BadPasswordException, ("Bad Password", badPassword)))
{
Password = badPassword;
}