Skip to content

Commit 50e6f78

Browse files
ADmadCopilot
andauthored
Use the _identity property
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d3ab4fe commit 50e6f78

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/View/Helper/IdentityHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ public function get(?string $key = null): mixed
132132
*/
133133
public function getIdentity(): ?IdentityInterface
134134
{
135-
return $this->_View
136-
->getRequest()
137-
->getAttribute($this->getConfig('identityAttribute'));
135+
return $this->_identity;
138136
}
139137
}

0 commit comments

Comments
 (0)