mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-24 06:27:07 -04:00
dont need AUTH HASH LOGIN to be on
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user