mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 12:42:15 +01:00
Added verified middleware to api endpoints
This commit is contained in:
@@ -27,7 +27,10 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::middleware('auth:api')->prefix('v1')->name('v1.')->group(static function () {
|
Route::middleware([
|
||||||
|
'auth:api',
|
||||||
|
'verified',
|
||||||
|
])->prefix('v1')->name('v1.')->group(static function () {
|
||||||
// Organization routes
|
// Organization routes
|
||||||
Route::name('organizations.')->group(static function () {
|
Route::name('organizations.')->group(static function () {
|
||||||
Route::get('/organizations/{organization}', [OrganizationController::class, 'show'])->name('show');
|
Route::get('/organizations/{organization}', [OrganizationController::class, 'show'])->name('show');
|
||||||
|
|||||||
Reference in New Issue
Block a user