diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-30 00:16:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-30 00:16:26 +0300 |
commit | e74bad91965068e4b91688a5c3df63bf6f2ca530 (patch) | |
tree | a1cf7b902ddb83ed9527e26bc6a0879e8bd130b7 /src/net/tmwa/loginhandler.h | |
parent | 13c2533f4a2d27f1c9156df2a8ad2851be2016fd (diff) | |
download | manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.gz manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.bz2 manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.xz manaverse-e74bad91965068e4b91688a5c3df63bf6f2ca530.zip |
Add support for email field in registration form.
Diffstat (limited to 'src/net/tmwa/loginhandler.h')
-rw-r--r-- | src/net/tmwa/loginhandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h index 1a78fbb59..004612f21 100644 --- a/src/net/tmwa/loginhandler.h +++ b/src/net/tmwa/loginhandler.h @@ -53,8 +53,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler void disconnect(); - int supportedOptionalActions() const A_WARN_UNUSED - { return SetGenderOnRegister; } + int supportedOptionalActions() const A_WARN_UNUSED; unsigned int getMaxPasswordLength() const A_WARN_UNUSED { return 25; } @@ -73,7 +72,8 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler private: void sendLoginRegister(const std::string &username, - const std::string &password); + const std::string &password, + const std::string &email); }; } // namespace TmwAthena |