1
0
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:
Sajjad Hasehmian
2016-03-16 15:21:06 +03:30
parent b2b5789c25
commit b13adfec84
5 changed files with 188 additions and 2 deletions

View File

@@ -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