aboutsummaryrefslogtreecommitdiff
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
parent0afcde8457499ef8ceb3e975177561bd0be3604d (diff)
downloadtimeline-f521f9fa30dc4dcc3c196250b81d6e9136b63da0.tar.gz
timeline-f521f9fa30dc4dcc3c196250b81d6e9136b63da0.tar.bz2
timeline-f521f9fa30dc4dcc3c196250b81d6e9136b63da0.zip
Fix a bug in wrong message of BadPasswordException.
-rw-r--r--Timeline/Services/BadPasswordException.cs4
-rw-r--r--Timeline/Timeline.csproj4
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 @@
<LastGenOutput>UserService.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
-
- <ItemGroup>
- <Folder Include="DevelopmentMigrations\" />
- </ItemGroup>
</Project>