dont need AUTH HASH LOGIN to be on

This commit is contained in:
Pliable Pixels
2019-05-23 14:59:21 -04:00
parent b04875676c
commit 57708c016c

View File

@@ -376,7 +376,7 @@ if ( ZM_OPT_USE_AUTH ) {
userLogin($_REQUEST['username'], $_REQUEST['password'], false);
}
if ( ZM_AUTH_HASH_LOGINS && empty($user) && !empty($_REQUEST['token']) ) {
if (empty($user) && !empty($_REQUEST['token']) ) {
$ret = validateToken($_REQUEST['token'], 'access');
$user = $ret[0];