mirror of
https://github.com/flarum/core.git
synced 2025-07-29 20:50:28 +02:00
Show alert for unverified User
This commit is contained in:
@@ -179,6 +179,13 @@ class ApiServiceProvider extends AbstractServiceProvider
|
||||
$toController('Flarum\Api\Controller\DeleteAvatarController')
|
||||
);
|
||||
|
||||
// send confirmation email
|
||||
$routes->post(
|
||||
'/users/{id}/send-confirmation',
|
||||
'users.confirmation.send',
|
||||
$toController('Flarum\Api\Controller\SendConfirmationEmailController')
|
||||
);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Notifications
|
||||
|
Reference in New Issue
Block a user