From fab0362df3fb79d483c7fa58d64abdfa4c7a0d3e Mon Sep 17 00:00:00 2001 From: mychidarko Date: Fri, 8 Nov 2024 19:49:25 +0000 Subject: [PATCH] feat: check db connection on user --- src/Auth.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Auth.php b/src/Auth.php index 9d43740..fa92c5a 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -391,6 +391,8 @@ public function user() return null; } + $this->checkDbConnection(); + $idKey = Config::get('id.key'); $table = Config::get('db.table');