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

Review the Authentication and Authorization - Users field #1104

Open
amyburness opened this issue Oct 9, 2024 · 3 comments
Open

Review the Authentication and Authorization - Users field #1104

amyburness opened this issue Oct 9, 2024 · 3 comments
Assignees

Comments

@amyburness
Copy link
Collaborator

Under 'Authentication and Authorization - Users' in the admin environment, there is still a username field?

@zamuzakki
Copy link
Collaborator

@amyburness Yes, since the username field is a default field in Django User. Now that we use email to login, it's still there but unused.

@meomancer
Copy link
Contributor

We can override form on the django admin to display
Create :

  • email, password and confirm_password

And when form is saved, just use email as username

Edit:

  • hide username
  • move email to the top

@amyburness
Copy link
Collaborator Author

@meomancer The old site used user names and the new one uses email addresses. this means that some emails represent 2 or more old users but in the new site each is unique. Just for context.

For the admin env we should just see the email address.

@zamuzakki zamuzakki moved this to 🕵️‍♀️ Needs Review in miniSASS update 2023 Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🕵️‍♀️ Needs Review
Development

No branches or pull requests

4 participants