mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update check_auth.php
This commit is contained in:
@@ -261,8 +261,10 @@
|
||||
exit();
|
||||
}
|
||||
else if ($_SESSION['login']['destination']['url'] != '') {
|
||||
header("Location: ".$_SESSION['login']['destination']['url']);
|
||||
exit();
|
||||
if (isset($_SESSION["username"]) && (strlen($_SESSION["username"]) > 0)) {
|
||||
header("Location: ".$_SESSION['login']['destination']['url']);
|
||||
exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user