Skip to content

Commit

Permalink
Dev Fixed small merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jan 31, 2018
1 parent efcc621 commit 6720b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/plugins/Authwebserver/Authwebserver.php
Expand Up @@ -106,7 +106,7 @@ public function newUserSession()
$aUserProfile = $this->api->getConfigKey('auth_webserver_autocreate_profile');
}
} else {
if (Permission::model()->find('permission = :permission AND uid=:uid AND read_p =1', array(":permission" => 'auth_webserver', ":uid"=>oUser->uid))) { // Don't use Permission::model()->hasGlobalPermission : it's update the plugins event (and remove user/pass from event)
if (Permission::model()->find('permission = :permission AND uid=:uid AND read_p =1', array(":permission" => 'auth_webserver', ":uid"=>$oUser->uid))) { // Don't use Permission::model()->hasGlobalPermission : it's update the plugins event (and remove user/pass from event)
$this->setAuthSuccess($oUser);
return;
} else {
Expand Down

0 comments on commit 6720b1a

Please sign in to comment.