mirror of
https://github.com/itflow-org/itflow
synced 2026-03-18 19:54:51 +00:00
Fix redirect to /client if no login key is set
This commit is contained in:
@@ -75,7 +75,7 @@ $config_login_remember_me_expire = intval($row['config_login_remember_me_expire'
|
|||||||
// If no/incorrect 'key' is supplied, send to client portal instead
|
// If no/incorrect 'key' is supplied, send to client portal instead
|
||||||
if ($config_login_key_required) {
|
if ($config_login_key_required) {
|
||||||
if (!isset($_GET['key']) || $_GET['key'] !== $config_login_key_secret) {
|
if (!isset($_GET['key']) || $_GET['key'] !== $config_login_key_secret) {
|
||||||
header("Location: portal");
|
header("Location: client");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user