mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 01:11:37 -06:00
Some new login / logout routes
This commit is contained in:
parent
fccdf56c5d
commit
bb58f605f7
19
resources/lang/en_US/auth.php
Executable file
19
resources/lang/en_US/auth.php
Executable file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
|
||||
];
|
@ -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']);
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user