Skip to content

Commit 6308d0a

Browse files
committed
style: remove line breaks
1 parent 8fccec7 commit 6308d0a

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/Controllers/MagicLinkController.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ public function verify(): RedirectResponse
111111

112112
// No token found?
113113
if ($identity === null) {
114-
$this->recordLoginAttempt(
115-
$identifier,
116-
false
117-
);
114+
$this->recordLoginAttempt($identifier, false);
118115

119116
$credentials = ['magicLinkToken' => $token];
120117
Events::trigger('failedLogin', $credentials);
@@ -127,10 +124,7 @@ public function verify(): RedirectResponse
127124

128125
// Token expired?
129126
if (Time::now()->isAfter($identity->expires)) {
130-
$this->recordLoginAttempt(
131-
$identifier,
132-
false
133-
);
127+
$this->recordLoginAttempt($identifier, false);
134128

135129
$credentials = ['magicLinkToken' => $token];
136130
Events::trigger('failedLogin', $credentials);

0 commit comments

Comments
 (0)