mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update controllers and models
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user