django admin site password changed every time user's attributes are changed

13 views
Skip to first unread message

Vishesh Mangla

unread,
Jan 10, 2021, 12:43:25 PM1/10/21
to Django users


Please see code at dpaste.

I 'm trying to modify my admin site so that the admin can create new accounts there. After clicking save , to whatever email address which the admin has entered an email would bbe sent with a random password. It works perfectly but when I try to change the users permission in the admin site, first of all the password's hash code is visible and the password gets substituted with that hash.

Also why is the password string visible, shouldn't it be dots here?

Please help me out.

Reply all
Reply to author
Forward
0 new messages