Skip to content

Commit

Permalink
[TM-830] User create needs to be unprotected.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Apr 4, 2024
1 parent 3f2c6a1 commit 09ae575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@

Route::get('/auth/logout', [AuthController::class, 'logoutAction']);
Route::get('/auth/refresh', [AuthController::class, 'refreshAction']);

Route::post('/users', [UsersController::class, 'createAction']);
});

Route::patch('/auth/verify', [AuthController::class, 'verifyAction']);
Expand All @@ -141,7 +143,6 @@
Route::post('/uploads/site_programme_media', [MediaUploadController::class, 'createAction']);

Route::get('/organisations/{id}/users', [UsersController::class, 'readAllByOrganisationAction']);
Route::post('/users', [UsersController::class, 'createAction']);
Route::get('/users/all', [UsersController::class, 'readAllAction']);
Route::get('/users/unverified', [UsersController::class, 'readAllUnverifiedAction']);
Route::post('/users/invite', [UsersController::class, 'inviteAction']);
Expand Down

0 comments on commit 09ae575

Please sign in to comment.