Compare commits

..

1 Commits

Author SHA1 Message Date
7f3b813936
replace hardcoded links to generated ones
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-04-16 14:25:06 +02:00

View File

@ -114,7 +114,7 @@ class LoginController
return new JsonContent([ return new JsonContent([
'error' => [ 'error' => [
'errorText' => 'No user found with the given email address / username or the given password is wrong. You can <a href="' . 'errorText' => 'No user found with the given email address / username or the given password is wrong. You can <a href="' .
\Container::$routeCollection->getRoute('password-requestReset')->generateLink(['email' => $this->request->post('email')]) . '" title="Request password reset">request password reset</a>!' \Container::$routeCollection->getRoute('password-requestReset')->generateLink(['email' => urlencode($this->request->post('email'))]) . '" title="Request password reset">request password reset</a>!'
] ]
]); ]);
} }