mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-20 05:34:12 -04:00
dont need AUTH HASH LOGIN to be on
This commit is contained in:
1 parent
b04875676c
commit
57708c016c
1 file changed
+1
-1
@@ -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