Skip to content

Commit ce32ec7

Browse files
authored
add email to translation
1 parent 73bc517 commit ce32ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/MagicLinkController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function loginAction()
9292
$user = $this->provider->findByCredentials(['email' => $email]);
9393

9494
if ($user === null) {
95-
return redirect()->route('magic-link')->with('error', lang('Auth.invalidEmail'));
95+
return redirect()->route('magic-link')->with('error', lang('Auth.invalidEmail', [$email]));
9696
}
9797

9898
/** @var UserIdentityModel $identityModel */

0 commit comments

Comments
 (0)