minor fix

This commit is contained in:
alejandro.campos@artica.es 2022-10-19 16:46:07 +02:00
parent 2ea3c3038c
commit d707c29110
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ $public_login = false;
if (false === ((bool) get_parameter('doLogin', false) === true
&& $page === 'include/rest-api/index.php')
&& $page === realpath('include/rest-api/index.php'))
) {
// Check user.
if (class_exists($auth_class) === false || $public_hash === false) {