mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Password reset update
This commit is contained in:
@ -96,12 +96,6 @@ Route::prefix('/v1')->group(function () {
|
||||
Route::get('/app/version', AppVersionController::class);
|
||||
|
||||
|
||||
// Email is registered
|
||||
// ----------------------------------
|
||||
|
||||
Route::get('/is/registered', IsRegisteredController::class);
|
||||
|
||||
|
||||
// Authentication & Password Reset
|
||||
//----------------------------------
|
||||
|
||||
@ -112,7 +106,7 @@ Route::prefix('/v1')->group(function () {
|
||||
Route::post('logout', [AuthController::class, 'logout'])->middleware('auth:sanctum');
|
||||
|
||||
// Send reset password mail
|
||||
Route::post('password/email', [ForgotPasswordController::class, 'sendResetLinkEmail']);
|
||||
Route::post('password/email', [ForgotPasswordController::class, 'sendResetLinkEmail'])->middleware("throttle:10,2");;
|
||||
|
||||
// handle reset password form process
|
||||
Route::post('reset/password', [ResetPasswordController::class, 'reset']);
|
||||
|
||||
Reference in New Issue
Block a user