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

Student's verification doesn't save #40

Closed
BirnadinErick opened this issue Dec 15, 2021 · 0 comments · Fixed by #41
Closed

Student's verification doesn't save #40

BirnadinErick opened this issue Dec 15, 2021 · 0 comments · Fixed by #41
Labels
bug Something isn't working enhancement New feature or request

Comments

@BirnadinErick
Copy link
Collaborator

Describe the bug
Student doesn't alter is_verified prop when completion in onboard_student()

To Reproduce

  1. Register an account as a student and complete the onboarding step.
  2. Logout
  3. Log in again as the same student
  4. now you will be routed to onboard/student
  5. if submitted the now-onboard-form backend throws UNIQUE constraint error as this student is already in the db

Expected behavior
Student, on second time upon succesful login, on_board shouldn't be re-routed to & student.student.is_verified should be True by now

@BirnadinErick BirnadinErick added bug Something isn't working enhancement New feature or request labels Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
1 participant