mirror of
https://github.com/itflow-org/itflow
synced 2026-06-13 05:11:06 +00:00
Generate CSRF Token during Client Portal login when using Entra
This commit is contained in:
@@ -125,6 +125,7 @@ if (isset($_POST['code']) && $_POST['state'] == session_id()) {
|
||||
$_SESSION['user_id'] = $user_id;
|
||||
$_SESSION['user_type'] = 2;
|
||||
$_SESSION['contact_id'] = $contact_id;
|
||||
$_SESSION['csrf_token'] = randomString(32);
|
||||
$_SESSION['login_method'] = "azure";
|
||||
|
||||
// Logging
|
||||
|
||||
Reference in New Issue
Block a user