Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed Oct 31, 2024
1 parent 326564e commit e5a9081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/Concerns/WithAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected function getAuthModel(): ?Authenticatable

protected function getAuthKey(): int|string|null
{
return $this->getAuthUser()?->getRouteKey();
return $this->getAuthModel()?->getRouteKey();
}

protected function can(string $ability, mixed $arguments = []): bool
Expand Down

0 comments on commit e5a9081

Please sign in to comment.