From 07d383dedfb937418160acc51b712c5d4ef842a6 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 ++-- Timeline/Timeline.csproj | 4 ---- 2 files changed, 2 insertions(+), 6 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; } diff --git a/Timeline/Timeline.csproj b/Timeline/Timeline.csproj index 8b7c8509..681f49cb 100644 --- a/Timeline/Timeline.csproj +++ b/Timeline/Timeline.csproj @@ -173,8 +173,4 @@ UserService.Designer.cs - - - - -- cgit v1.2.3