mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
empty pass check fix for hmac-sha1-shared auth
This commit is contained in:
parent
c71c6ada46
commit
8d9cc4b1f5
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ checkPassword(try, method, salt, args, cb, varargs cbargs) {
|
|||
if (IS_NEWBIE) ARETURN(1) // could auto-register here..
|
||||
# endif
|
||||
#endif
|
||||
if (!try || try == "" || v("password") == "") ARETURN(0)
|
||||
if (!try || try == "" || (method != "hmac-sha1-shared") && v("password") == "") ARETURN(0)
|
||||
|
||||
switch(method) {
|
||||
#if __EFUN_DEFINED__(sha1)
|
||||
|
|
Loading…
Reference in a new issue