diff --git a/PocketSharp/Components/Account.cs b/PocketSharp/Components/Account.cs
index e30a485..0810500 100644
--- a/PocketSharp/Components/Account.cs
+++ b/PocketSharp/Components/Account.cs
@@ -126,6 +126,8 @@ namespace PocketSharp
/// Invalid email address.
/// or
/// Invalid username. Please only use letters, numbers, and/or dashes and between 1-20 characters.
+ /// or
+ /// Invalid password.
///
///
public async Task RegisterAccount(string username, string email, string password)
@@ -148,6 +150,11 @@ namespace PocketSharp
throw new FormatException("(2) Invalid username. Please only use letters, numbers, and/or dashes and between 1-20 characters.");
}
+ if (password.Length < 3)
+ {
+ throw new FormatException("(3) Invalid password.");
+ }
+
RegisterParameters parameters = new RegisterParameters()
{
Username = username,
diff --git a/PocketSharp/PocketSharp.nuspec b/PocketSharp/PocketSharp.nuspec
index c75731c..d002d7a 100644
--- a/PocketSharp/PocketSharp.nuspec
+++ b/PocketSharp/PocketSharp.nuspec
@@ -7,7 +7,7 @@
$author$
$author$
https://raw.github.com/ceee/PocketSharp/master/LICENSE-MIT
- http://pocketsharp.frontendplay.com
+ https://github.com/ceee/PocketSharp
https://raw.github.com/ceee/PocketSharp/master/pocketsharp.png
false
PocketSharp is a C#.NET portable class library that integrates the Pocket API v3.