Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

cannot create new user #48

Closed
martinjrobins opened this issue Feb 26, 2023 · 2 comments
Closed

cannot create new user #48

martinjrobins opened this issue Feb 26, 2023 · 2 comments
Labels
bug Something isn't working v2.0.0 Required for v2.0.0

Comments

@martinjrobins
Copy link
Collaborator

Describe the bug

When registering new user in login, the UI seems to create the user, but the api call is rejected

APIConnection.ts:113          POST http://localhost:5000/users/ 405 (Method Not Allowed)

To Reproduce

Try to register a new user on the login page

@martinjrobins martinjrobins added bug Something isn't working v2.0.0 Required for v2.0.0 labels Feb 26, 2023
@martinjrobins
Copy link
Collaborator Author

perhaps because the viewset is read-only?

class UserViewSet(viewsets.ReadOnlyModelViewSet):

@mjaquiery mjaquiery mentioned this issue Feb 27, 2023
mjaquiery added a commit that referenced this issue Feb 27, 2023
- closes #48 - fixed incorrect API call endpoint
- closes #47 - added volume override for `/app/node_modules/`
- closes #49 - use `.env.secret` in tests; create `.env.secret` in GitHub tests from envvars
@mjaquiery
Copy link
Collaborator

Closed by #50

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working v2.0.0 Required for v2.0.0
Projects
None yet
Development

No branches or pull requests

2 participants