Compare commits

..

2 Commits

Author SHA1 Message Date
0b8d7b9cda
replace hardcoded links to generated ones
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-04-16 14:31:10 +02:00
4f4cc43e90
fix home links in LoginController 2023-04-16 14:30:49 +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' => urlencode($this->request->post('email'))]) . '" title="Request password reset">request password reset</a>!' \Container::$routeCollection->getRoute('password-requestReset')->generateLink(['email' => $this->request->post('email')]) . '" title="Request password reset">request password reset</a>!'
] ]
]); ]);
} }