Skip to content

Commit

Permalink
Merge pull request #9 from JoelGilliland/master
Browse files Browse the repository at this point in the history
Fixed elseif typo
  • Loading branch information
Nitecon committed Mar 20, 2014
2 parents 4e805f8 + c3b2c37 commit 4b611e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ZfcUserLdap/Authentication/Adapter/LdapAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ public function authenticate(AuthEvent $e)
}

if ($userDbObject === false) {
$userObject = $this->getMapper ()->updateDb ($ldapObj, null);
} elseif {
($zulConfig['auto_insertion']['auto_update'])
$userObject = $this->getMapper()->updateDb($ldapObj, null);
} elseif ($zulConfig['auto_insertion']['auto_update']) {
$userObject = $this->getMapper()->updateDb($ldapObj, $userDbObject);
} else {
$userObject = $userDbObject;
Expand Down

0 comments on commit 4b611e9

Please sign in to comment.