Skip to content
Snippets Groups Projects
Verified Commit fa09bdc5 authored by Damien's avatar Damien
Browse files

FIX Bad cookie with cas connection

parent ace67208
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ class SecurityModel
$cookieKey = $user[0]['cookie_key'];
}
$cookiePath = str_replace(['apps/maarch_entreprise/index.php', 'rest/index.php'], '', $_SERVER['SCRIPT_NAME']);
$cookiePath = str_replace(['apps/maarch_entreprise/index.php', 'apps/maarch_entreprise/log.php', 'rest/index.php'], '', $_SERVER['SCRIPT_NAME']);
$cookieTime = time() + 60 * $cookieTime;
DatabaseModel::update([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment