mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Update legacy client login links to use the new unified login method
This commit is contained in:
@@ -133,20 +133,20 @@ if (isset($_POST['code']) && $_POST['state'] == session_id()) {
|
||||
header("Location: index.php");
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
$_SESSION['login_message'] = 'Something went wrong with logging you in: Your account is not configured for Entra SSO. Please ensure you are setup in ITFlow as a contact and have Entra SSO configured.';
|
||||
|
||||
|
||||
header("Location: index.php");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
header('Location: index.php');
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
echo "Error getting access_token";
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user