summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-30 00:16:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-30 00:16:26 +0300
commite74bad91965068e4b91688a5c3df63bf6f2ca530 (patch)
treea1cf7b902ddb83ed9527e26bc6a0879e8bd130b7 /src/net/tmwa/loginhandler.h
parent13c2533f4a2d27f1c9156df2a8ad2851be2016fd (diff)
downloadplus-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.gz
plus-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.bz2
plus-e74bad91965068e4b91688a5c3df63bf6f2ca530.tar.xz
plus-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.h6
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