diff options
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index e2c16eaed..78a9b9420 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -265,7 +265,7 @@ bool check_encrypted(const char* str1, const char* str2, const char* passwd) } bool check_password(const char* md5key, int passwdenc, const char* passwd, const char* refpass) -{ +{ if(passwdenc == 0) { return (0==strcmp(passwd, refpass)); |