summaryrefslogtreecommitdiff
path: root/src/net/loginhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-19 14:18:04 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-19 14:18:04 -0600
commit7fc4b120bf35daa5d3d96eb565ec7d79ce153653 (patch)
tree159b576c6cb87486e043d5ba103b4b634ef1b230 /src/net/loginhandler.h
parent72883051f1c947c324e259dc5e323ca3dfaf3737 (diff)
downloadmana-7fc4b120bf35daa5d3d96eb565ec7d79ce153653.tar.gz
mana-7fc4b120bf35daa5d3d96eb565ec7d79ce153653.tar.bz2
mana-7fc4b120bf35daa5d3d96eb565ec7d79ce153653.tar.xz
mana-7fc4b120bf35daa5d3d96eb565ec7d79ce153653.zip
Fix RegisterDialog tab order and detail lengths
Diffstat (limited to 'src/net/loginhandler.h')
-rw-r--r--src/net/loginhandler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h
index 2ac34c1e..bef88094 100644
--- a/src/net/loginhandler.h
+++ b/src/net/loginhandler.h
@@ -63,6 +63,14 @@ class LoginHandler
*/
virtual int supportedOptionalActions() const = 0;
+ virtual unsigned int getMinUserNameLength() const { return 4; };
+
+ virtual unsigned int getMaxUserNameLength() const { return 25; };
+
+ virtual unsigned int getMinPasswordLength() const { return 4; };
+
+ virtual unsigned int getMaxPasswordLength() const { return 25; };
+
virtual void loginAccount(LoginData *loginData) = 0;
virtual void logout() = 0;