sentier-dev / dds_registration

Django app for event registration and billing
MIT License
0 stars 1 forks source link

Email should be the same as the username #38

Closed cmutel closed 7 months ago

cmutel commented 7 months ago

This is a much better user experience, one less thing to remember or generate. We can keep them as two columns in the backend just to avoid worrying about having to change that code.

lilliputten commented 7 months ago

@cmutel

Does it mean to use email as a primary key? Or to sync the email field to the username one forcibly?

I've made one more attempt to use a custom implementation of UserProfile, but it seems that those simple solutions don't work in the project: probably due to a few third-party auth-related libraries used here, which don't allow using different/non-standard models.

I'm going to try to find a way to sync email to username, make email required and unique (already have seen your links in the next issue), and hide username from forms, or smth like this.