mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
Make URLs more verbose
This commit is contained in:
parent
9392e1bec3
commit
a065c8e6f5
|
@ -114,19 +114,19 @@ class ForumServiceProvider extends AbstractServiceProvider
|
||||||
);
|
);
|
||||||
|
|
||||||
$routes->get(
|
$routes->get(
|
||||||
'/confirm/{token}',
|
'/confirm-email/{token}',
|
||||||
'confirmEmail',
|
'confirmEmail',
|
||||||
$route->toController(Controller\ConfirmEmailController::class)
|
$route->toController(Controller\ConfirmEmailController::class)
|
||||||
);
|
);
|
||||||
|
|
||||||
$routes->get(
|
$routes->get(
|
||||||
'/reset/{token}',
|
'/reset-password/{token}',
|
||||||
'resetPassword',
|
'resetPassword',
|
||||||
$route->toController(Controller\ResetPasswordController::class)
|
$route->toController(Controller\ResetPasswordController::class)
|
||||||
);
|
);
|
||||||
|
|
||||||
$routes->post(
|
$routes->post(
|
||||||
'/reset',
|
'/reset-password',
|
||||||
'savePassword',
|
'savePassword',
|
||||||
$route->toController(Controller\SavePasswordController::class)
|
$route->toController(Controller\SavePasswordController::class)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user