mediacms
mediacms copied to clipboard
There is no way to access the passwords of users created in the Django Admin
Comes from discussion 122
When making users in the Django admin, the user is created without prompting for a password. The auto-generated password is not displayed anywhere. No email is sent with the password either. There is no way to find out what the password for the user is.
Nice description, this could be handled so that the case where an admin bulk creates accounts can also set the password for them
Any hints on where can I change the user's password? I'm trying to add users via the Django admin panel but the end users can't log on due to unknown password...
if you've set the email settings, reset password should email the user with a link to reset the password.
But since you're an admin, you may set any user password through the Django manage shell, checkout this thread: https://github.com/mediacms-io/mediacms/discussions/81
Isn't there any other way, for a non technical person, to manage passwords via gui? I'm installing it for a friend of mine which is absolutely non techie, unfortunately, and can't explain to him how to use the Django management shell :P
I see, what you're asking for is very valid indeed. I'm pretty sure there has to be a way on Django admin to set a new password!
Any hints in where to touch in the code so that I can implement an integration in the Django administration panel to make it work? Thanks in advance!
I see, what you're asking for is very valid indeed. I'm pretty sure there has to be a way on Django admin to set a new password!
Hi, what about using UserAdmin as suggested here?
@mgogoulos I may test this solution and send a PR, if you want to...
I ran into this problem as well on initial installation in a corporate environment behind a firewall. Would be great to have it fixed.
This worked...
- active your environment
source /home/mediacms.io/bin/activate - from
home/mediacms.io/mediacmsrunpython3 manage.py createsuperuser - now create a new admin user, DON"T use the same name
- Log in with the new admin user
- delete the first admin user
- start from step 2, this time use 'admin`
- go back in with the new admin and delete the additional one.