diff --git a/app/lib/Auth/Adapters/Shibboleth.php b/app/lib/Auth/Adapters/Shibboleth.php index 90418d4ab3..db0995d159 100644 --- a/app/lib/Auth/Adapters/Shibboleth.php +++ b/app/lib/Auth/Adapters/Shibboleth.php @@ -74,10 +74,7 @@ public function authenticate($username, $password = '', $options=null) { $map = array_flip($this->auth_config->get('shibboleth_field_map')); $uid = array_shift($attrs[$map['uid']]); if (!$uid) { return false; } - if (ca_users::find(['user_name' => $uid], ['returnAs' => 'count']) > 0) { - return true; - } - return false; + return true; } # -------------------------------------------------------------------------------- /**