summaryrefslogtreecommitdiff
path: root/src/net/logindata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-25 01:42:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-25 01:42:53 +0300
commit10f59701112130cf953a2af7ef4ae82d9d823fe6 (patch)
tree32f84fd57dde0e3ace791bae116163659d19170e /src/net/logindata.h
parent4e95f451a793dbac5dbc31361cdc5049de48c3cc (diff)
downloadmv-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.gz
mv-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.bz2
mv-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.xz
mv-10f59701112130cf953a2af7ef4ae82d9d823fe6.zip
Add support for register from browser on servers with disabled registration.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r--src/net/logindata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h
index 1aed31b19..ed29f7736 100644
--- a/src/net/logindata.h
+++ b/src/net/logindata.h
@@ -38,6 +38,7 @@ class LoginData final
updateType(0),
email(""),
captchaResponse(""),
+ registerUrl(""),
gender(GENDER_UNSPECIFIED),
remember(false),
registerLogin(false)
@@ -65,6 +66,7 @@ class LoginData final
std::string email;
std::string captchaResponse;
+ std::string registerUrl;
Gender gender;
@@ -84,6 +86,7 @@ class LoginData final
updateType = Upd_Normal;
email.clear();
captchaResponse.clear();
+ registerUrl.clear();
gender = GENDER_UNSPECIFIED;
lastLogin.clear();
resetCharacterSlots();