fix error message for password reset request

This commit is contained in:
Bence Pőcze 2023-05-08 18:48:12 +02:00
parent 75f0ae7668
commit 726b1818d0
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -196,7 +196,7 @@ class LoginController
if ($user === null) { if ($user === null) {
return new JsonContent([ return new JsonContent([
'error' => [ 'error' => [
'errorText' => 'No user found with the given email address / username.' 'errorText' => 'No user found with the given email address.'
] ]
]); ]);
} }