We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2af174 commit 29856beCopy full SHA for 29856be
Authentication/Token/AbstractToken.php
@@ -48,7 +48,7 @@ public function getRoleNames(): array
48
49
public function getUserIdentifier(): string
50
{
51
- return $this->user->getUserIdentifier();
+ return $this->user ? $this->user->getUserIdentifier() : '';
52
}
53
54
/**
0 commit comments