Add session authorized and return to remember token validate
This commit is contained in:
@@ -207,6 +207,11 @@ class authentication {
|
|||||||
'samesite' => 'Strict'
|
'samesite' => 'Strict'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
//set the session authorized to true
|
||||||
|
$_SESSION['authorized'] = true;
|
||||||
|
|
||||||
|
//return the result
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user