feat: add forget password in app
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
Route::prefix('auth')->controller(UserController::class)->group(function () {
|
||||
Route::post('forgot-password', 'requestPasswordReset'); // send reset link
|
||||
Route::post('reset-password', 'resetPassword'); // actually reset
|
||||
Route::post('reset-password-in-app', 'resetPasswordInApp');
|
||||
});
|
||||
|
||||
Route::get('/reset-password/{token}', [UserController::class, 'showResetForm'])
|
||||
|
||||
Reference in New Issue
Block a user