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 f8b53a3 commit a0da4c8Copy full SHA for a0da4c8
src/Services/AuthService.php
@@ -48,7 +48,7 @@ public function verify($id, $hash = null)
48
/** * @var Authenticatable */
49
$user = $this->userQuery()->query()->find($id);
50
51
- if ($user instanceof Sanctumable && ! hash_equals((string)$hash, sha1($user->getEmailForVerification()))) {
+ if ($user instanceof Sanctumable && ! hash_equals((string) $hash, sha1($user->getEmailForVerification()))) {
52
throw new AuthorizationException('Invalid hash');
53
}
54
0 commit comments