Silence php 7.2 error message generated in `session_set_cookie_params`.

This commit is contained in:
Rodney Stromlund 2020-08-14 10:47:46 -05:00
parent ddf9227dc4
commit 88ced02622
1 changed files with 2 additions and 2 deletions

View File

@ -670,9 +670,9 @@ class Handler_Public extends Handler {
$remember_me = clean($_POST["remember_me"]);
if ($remember_me) {
session_set_cookie_params(SESSION_COOKIE_LIFETIME);
@session_set_cookie_params(SESSION_COOKIE_LIFETIME);
} else {
session_set_cookie_params(0);
@session_set_cookie_params(0);
}
if (authenticate_user($login, $password)) {