mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Enhancing error message
This commit is contained in:
@@ -44,7 +44,7 @@ class ForgotPasswordController extends Controller
|
||||
$email = $request->input('email') ?? '';
|
||||
$rssToken = $request->input('apikey') ?? '';
|
||||
if (empty($email) && empty($rssToken)) {
|
||||
app('smarty.view')->assign('error', 'Missing parameter(email and/or apikey to send password reset');
|
||||
app('smarty.view')->assign('error', 'Missing parameter (email and/or apikey) to send password reset');
|
||||
} else {
|
||||
if (config('captcha.enabled') === true && (! empty(config('captcha.secret')) && ! empty(config('captcha.sitekey')))) {
|
||||
$this->validate($request, [
|
||||
|
||||
Reference in New Issue
Block a user