mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 03:19:05 +02:00
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
|
if (false === ((bool) get_parameter('doLogin', false) === true
|
||||||
&& $page === 'include/rest-api/index.php')
|
&& $page === realpath('include/rest-api/index.php'))
|
||||||
) {
|
) {
|
||||||
// Check user.
|
// Check user.
|
||||||
if (class_exists($auth_class) === false || $public_hash === false) {
|
if (class_exists($auth_class) === false || $public_hash === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user