diff --git a/resources/lang/en_US/auth.php b/resources/lang/en_US/auth.php new file mode 100755 index 0000000000..6ef1a73308 --- /dev/null +++ b/resources/lang/en_US/auth.php @@ -0,0 +1,19 @@ + 'These credentials do not match our records.', + 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', + +]; diff --git a/resources/views/auth/password.twig b/resources/views/auth/passwords/email.twig similarity index 100% rename from resources/views/auth/password.twig rename to resources/views/auth/passwords/email.twig diff --git a/resources/views/auth/reset.twig b/resources/views/auth/passwords/reset.twig similarity index 100% rename from resources/views/auth/reset.twig rename to resources/views/auth/passwords/reset.twig diff --git a/routes/web.php b/routes/web.php index c7b01dbd91..b02db29f73 100755 --- a/routes/web.php +++ b/routes/web.php @@ -24,13 +24,11 @@ Route::group( Route::get('/register', ['uses' => 'Auth\RegisterController@showRegistrationForm', 'as' => 'register']); # Route::post('/register', 'Auth\RegisterController@register'); # - Route::get('/password/reset', 'Auth\PasswordController@getReset'); - // Password Reset Routes... - Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm'); - Route::post('/password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail'); - Route::post('/password/reset', 'Auth\ResetPasswordController@reset'); - Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm'); + Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm'); # + Route::post('/password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail'); # + Route::post('/password/reset', 'Auth\ResetPasswordController@reset'); # + Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm'); # } @@ -42,7 +40,7 @@ Route::group( Route::group( ['middleware' => 'user-simple-auth'], function () { Route::get('/error', 'HomeController@displayError'); - Route::post('logout', ['uses' => 'Auth\LoginController@logout','as' => 'logout']); + Route::any('logout', ['uses' => 'Auth\LoginController@logout','as' => 'logout']); Route::get('/flush', ['uses' => 'HomeController@flush']); } );