Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Create Profile Edge Case] Users with the profile created can still access /create #10

Open
cunbidun opened this issue May 16, 2020 · 0 comments
Assignees
Labels
backend Backend Stuff invalid This doesn't seem right

Comments

@cunbidun
Copy link
Collaborator

Describe the bug
Users with the profile created can still access /create.

To Reproduce
Steps to reproduce the behavior:

  1. Login.
  2. 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.

@cunbidun cunbidun changed the title Create Profile Edge Case [Create Profile Edge Case] Users with the profile created can still access /create May 18, 2020
@Saakshaat Saakshaat pinned this issue May 20, 2020
@Saakshaat Saakshaat self-assigned this May 20, 2020
@Saakshaat Saakshaat added invalid This doesn't seem right backend Backend Stuff labels May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend Stuff invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants