Skip to content

Commit

Permalink
Update User Class
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarvello committed Apr 30, 2024
1 parent cd0c125 commit 72d9c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function logout()
}
$chiper = new ChiperService();
$secured = isset($_SERVER["HTTPS"]);
setcookie($chiper::CREDENTIALS_COOKIE_NAME, "", time() - 3600, "/", null, $secured, true);
setcookie($chiper::CREDENTIALS_COOKIE_NAME, "", time() - 3600, "/", "", $secured, true);
session_destroy();
return true;
}
Expand Down

0 comments on commit 72d9c73

Please sign in to comment.