We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00b4ff8 commit 6e75a72Copy full SHA for 6e75a72
src/Admin/src/Adapter/AuthenticationAdapter.php
@@ -79,7 +79,6 @@ public function authenticate(): Result
79
$identityClass = $repository->findOneBy([
80
$this->config['orm_default']['identity_property'] => $this->getIdentity(),
81
]);
82
- $this->entityManager->refresh($identityClass);
83
84
if (null === $identityClass) {
85
return new Result(
@@ -88,6 +87,7 @@ public function authenticate(): Result
88
87
[$this->config['orm_default']['messages']['not_found']]
89
);
90
}
+ $this->entityManager->refresh($identityClass);
91
92
$getCredential = "get" . ucfirst($this->config['orm_default']['credential_property']);
93
0 commit comments