diff --git a/world/net/person.c b/world/net/person.c index a2ce76c..24e2e98 100644 --- a/world/net/person.c +++ b/world/net/person.c @@ -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)