From f521f9fa30dc4dcc3c196250b81d6e9136b63da0 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 12 Jan 2020 01:32:04 +0800 Subject: Fix a bug in wrong message of BadPasswordException. --- Timeline/Services/BadPasswordException.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Timeline/Services/BadPasswordException.cs') 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; } -- cgit v1.2.3