summaryrefslogtreecommitdiff
path: root/app/Core/User/UserProfile.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/User/UserProfile.php')
-rw-r--r--app/Core/User/UserProfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/User/UserProfile.php b/app/Core/User/UserProfile.php
index ccbc7f06..ef325801 100644
--- a/app/Core/User/UserProfile.php
+++ b/app/Core/User/UserProfile.php
@@ -52,7 +52,7 @@ class UserProfile extends Base
$this->groupSync->synchronize($profile['id'], $user->getExternalGroupIds());
}
- if (! empty($profile)) {
+ if (! empty($profile) && $profile['is_active'] == 1) {
$this->userSession->initialize($profile);
return true;
}