user_cas
user_cas copied to clipboard
setcookie incompatibility on php 8.1
Log error :
Error: setcookie(): Passing null to 2022-10-06T21:07:21+02:00
parameter #3 ($expires_or_options) of type
array|int is deprecated at
/xxxxxxxxxxxxxxx/public_html/apps/user_cas/appinfo/app.php#59
Error from line setcookie("user_cas_enforce_authentication", "0", null, '/');
null seems not a valid option :
i put a day as e expires value : setcookie("user_cas_enforce_authentication", "0", time()+60*60*24, '/');
should be fixed by #108