We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fccec7 commit 6308d0aCopy full SHA for 6308d0a
1 file changed
src/Controllers/MagicLinkController.php
@@ -111,10 +111,7 @@ public function verify(): RedirectResponse
111
112
// No token found?
113
if ($identity === null) {
114
- $this->recordLoginAttempt(
115
- $identifier,
116
- false
117
- );
+ $this->recordLoginAttempt($identifier, false);
118
119
$credentials = ['magicLinkToken' => $token];
120
Events::trigger('failedLogin', $credentials);
@@ -127,10 +124,7 @@ public function verify(): RedirectResponse
127
124
128
125
// Token expired?
129
126
if (Time::now()->isAfter($identity->expires)) {
130
131
132
133
134
135
136
0 commit comments