Skip to content

Commit

Permalink
feat: check db connection on user
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Nov 8, 2024
1 parent 3ccddd6 commit fab0362
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ public function user()
return null;
}

$this->checkDbConnection();

$idKey = Config::get('id.key');
$table = Config::get('db.table');

Expand Down

0 comments on commit fab0362

Please sign in to comment.