minor fix
This commit is contained in:
parent
2ea3c3038c
commit
d707c29110
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue