Skip to content

Commit

Permalink
Merge pull request #127 from wri/fix/TM-830-account-creation
Browse files Browse the repository at this point in the history
[TM-830] User create needs to be unprotected.
  • Loading branch information
roguenet authored Apr 4, 2024
2 parents 6cb3653 + 09ae575 commit 1482370
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 1482370

Please sign in to comment.