summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 10:36:33 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 10:36:33 +0000
commitded3beb31fd3aa57ce15ea85effeda5c329a3343 (patch)
tree16db8260308267c8adb7cb25f35e06804b422309 /src/login/login.h
parent46733d74c81b5fccdb1e557cbceb8e977e876e47 (diff)
downloadhercules-ded3beb31fd3aa57ce15ea85effeda5c329a3343.tar.gz
hercules-ded3beb31fd3aa57ce15ea85effeda5c329a3343.tar.bz2
hercules-ded3beb31fd3aa57ce15ea85effeda5c329a3343.tar.xz
hercules-ded3beb31fd3aa57ce15ea85effeda5c329a3343.zip
Added a new login server config for _F/_M account creation method which denies an account creation if either userid or password length is lower than 4 (should be used with conjunction of Disable 4 LetterUserID/Disable 4 LetterPassword client diffs)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15265 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 07f05f18b..3f14ec93c 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -61,7 +61,7 @@ struct Login_Config {
bool log_login; // whether to log login server actions or not
char date_format[32]; // date format used in messages
bool console; // console input system enabled?
- bool new_account_flag; // autoregistration via _M/_F ?
+ bool new_account_flag,new_acc_length_limit; // autoregistration via _M/_F ? / if yes minimum length is 4?
int start_limited_time; // new account expiration time (-1: unlimited)
bool use_md5_passwds; // work with password hashes instead of plaintext passwords?
int min_level_to_connect; // minimum level of player/GM (0: player, 1-99: GM) to connect