Skip to content

Safer and friendlier dj.set_password #320

@eywalker

Description

@eywalker

Currently you can change the password using dj.set_password. Although useful, it currently doesn't do any confirmation of password that you might expect for similar utilities in other applications (e.g. changing password in Linux account). When the user does not pass in new password into the function, It would be better for the set_password to ask the user to confirm the password by typing it in again. This practice will help significantly reducing the chance of changing password into one containing typos.

The prompt should also be updated from the current Password: to New password: as just prompting for Password: may trigger users to type in the current/old password.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions