Update controllers and models

This commit is contained in:
DariusIII
2026-03-26 22:54:34 +01:00
parent 1a6e999e39
commit 1f031e1284
13 changed files with 45 additions and 129 deletions
@@ -68,7 +68,7 @@ class ForgotPasswordController extends Controller
}
// Check users exists and send an email
$ret = ! empty($rssToken) ? User::getByRssToken($rssToken) : User::getByEmail($email);
$ret = ! empty($rssToken) ? User::findByRssToken($rssToken) : User::findByEmail($email);
if ($ret === null) {
return redirect()
->route('forgottenpassword')