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
commit07d383dedfb937418160acc51b712c5d4ef842a6 (patch)
tree026c480151e59998f75f8752085c0517db28d313
parent7d4bf81b6536123a2904d522148edf039a733f37 (diff)
downloadtimeline-07d383dedfb937418160acc51b712c5d4ef842a6.tar.gz
timeline-07d383dedfb937418160acc51b712c5d4ef842a6.tar.bz2
timeline-07d383dedfb937418160acc51b712c5d4ef842a6.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>