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
Registering users crashes if a superuser account exists with empty GitHub id
How to reproduce the bug
Have a (super) user with empty GitHub id
Register a new user
The registration form crashes on a failed UNIQUENESS constraint
Expected behaviour
Not crash (even if a superuser with empty GitHub id exists, still, the Django form shouldn't even create a user with empty GitHub id). I think the problem here is that first, an normal user object is created and only then the form details written to it (after form validation)
It should not be possible to have users with empty GitHub id (even if they are created by code, such as in entrypoint.sh)
The text was updated successfully, but these errors were encountered:
One-sentence description
Registering users crashes if a superuser account exists with empty GitHub id
How to reproduce the bug
Expected behaviour
The text was updated successfully, but these errors were encountered: