Skip to content

Commit

Permalink
πŸ“„ Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradSollitt committed May 24, 2021
1 parent 0956bf7 commit 4e18472
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Middleware/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* property of this class.
*
* A new token/cookie will be sent to the client with each response so that the
* user can keep browswing the site as long as they remain active within the
* user can keep browsing the site as long as they remain active within the
* expiration time.
*
* When first used this class will create a [.env] file with secure config settings,
Expand Down Expand Up @@ -142,7 +142,7 @@ class Auth
private $domain = null;

/**
* Cookie Setings
* Cookie Settings
*
* Using [$cookie_expires = 0] so that the cookie lasts only for the session.
* It will be cleared when the user closes the browser, however browsers will often
Expand Down Expand Up @@ -345,7 +345,7 @@ public function login(Application $app, $lang)
*/
public function logout(Application $app, $lang = null)
{
// If using a PHP Session first destory the session
// If using a PHP Session first destroy the session
$cookie_name = null;
if ($this->method === 'ses') {
if (session_status() !== PHP_SESSION_ACTIVE) {
Expand Down

0 comments on commit 4e18472

Please sign in to comment.