diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.h b/src/login/login.h index 8ffa06eec..7ec15464d 100644 --- a/src/login/login.h +++ b/src/login/login.h @@ -21,7 +21,7 @@ struct login_session_data { char sex; char userid[NAME_LENGTH]; - char passwd[NAME_LENGTH]; + char passwd[32+1]; // 23+1 for plaintext, 32+1 for md5-ed passwords int passwdenc; char md5key[20]; uint16 md5keylen; |