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)
One-sentence description
Registering users crashes if a superuser account exists with empty GitHub id
How to reproduce the bug
Expected behaviour