diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-29 13:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-29 13:09:30 +0300 |
commit | 3ef886b241c5654bf21e5326d1299ccde161b228 (patch) | |
tree | c3596884a6c0b19cdcf06a41ff66de639c0189a9 /src/net | |
parent | 6f6cac1787dec5f15b298c18c08339cacde7cb99 (diff) | |
download | mv-3ef886b241c5654bf21e5326d1299ccde161b228.tar.gz mv-3ef886b241c5654bf21e5326d1299ccde161b228.tar.bz2 mv-3ef886b241c5654bf21e5326d1299ccde161b228.tar.xz mv-3ef886b241c5654bf21e5326d1299ccde161b228.zip |
Fix password length limit messages.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/loginhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/loginhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/loginhandler.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index e84da5ce4..d1994f73d 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -51,7 +51,7 @@ class LoginHandler : public Net::LoginHandler virtual unsigned int getMaxPasswordLength() const override A_WARN_UNUSED - { return 25; } + { return 24; } virtual void loginAccount(LoginData *const loginData) const override; diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index 7c9b5eb61..f7c136e39 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -55,7 +55,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler { return SetGenderOnRegister; } unsigned int getMaxPasswordLength() const override A_WARN_UNUSED - { return 25; } + { return 24; } void changePassword(const std::string &username, const std::string &oldPassword, diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h index 972bf353a..30a0bd286 100644 --- a/src/net/tmwa/loginhandler.h +++ b/src/net/tmwa/loginhandler.h @@ -52,7 +52,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler int supportedOptionalActions() const override A_WARN_UNUSED; unsigned int getMaxPasswordLength() const override A_WARN_UNUSED - { return 25; } + { return 24; } void changePassword(const std::string &username, const std::string &oldPassword, |