You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Users with the profile created can still access /create.
To Reproduce
Steps to reproduce the behavior:
Login.
Go to /create.
Expected behavior
Users with a profile should not have access to /create because when they submit a new profile creation form, the server always returns an error status.
Suggested Solution
When a user login, the server can respond with a boolean variable to show the user already has a profile or not.
The text was updated successfully, but these errors were encountered:
cunbidun
changed the title
Create Profile Edge Case
[Create Profile Edge Case] Users with the profile created can still access /createMay 18, 2020
Describe the bug
Users with the profile created can still access
/create
.To Reproduce
Steps to reproduce the behavior:
/create
.Expected behavior
Users with a profile should not have access to
/create
because when they submit a new profile creation form, the server always returns an error status.Suggested Solution
When a user login, the server can respond with a boolean variable to show the user already has a profile or not.
The text was updated successfully, but these errors were encountered: