Skip to content

Commit 74383ea

Browse files
authored
Merge pull request #68 from dakota/patch-1
Call the correct interface method
2 parents 4bf3365 + 866ba89 commit 74383ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/FootprintAwareTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function _setCurrentUser($user = null): ?EntityInterface
106106
if ($user === null && !empty($this->Authentication)) {
107107
$identity = $this->Authentication->getIdentity();
108108
if ($identity) {
109-
$user = $identity->getData();
109+
$user = $identity->getOriginalData();
110110
}
111111
}
112112

0 commit comments

Comments
 (0)