summaryrefslogtreecommitdiff
path: root/app/Auth/DatabaseAuth.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Auth/DatabaseAuth.php')
-rw-r--r--app/Auth/DatabaseAuth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/DatabaseAuth.php b/app/Auth/DatabaseAuth.php
index 84a1e019..1982f576 100644
--- a/app/Auth/DatabaseAuth.php
+++ b/app/Auth/DatabaseAuth.php
@@ -84,7 +84,7 @@ class DatabaseAuth extends Base implements PasswordAuthenticationProviderInterfa
*/
public function isValidSession()
{
- return $this->userModel->isActive($this->userSession->getId());
+ return $this->userModel->isValidSession($this->userSession->getId(), $this->userSession->getRole());
}
/**