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

Local instance allows weak passwords #5551

Closed
jasonaowen opened this issue Mar 29, 2019 · 2 comments · Fixed by #5696
Closed

Local instance allows weak passwords #5551

jasonaowen opened this issue Mar 29, 2019 · 2 comments · Fixed by #5696

Comments

@jasonaowen
Copy link

Details

The installation instructions say to run python manage.py createsuperuser, which prompts for a password; self-sign-up users are also prompted for a password. By default, createsuperuser requires a non-empty password, and self-sign-up requires a password that is six characters or longer. Neither impose any further password complexity requirements, including checking for well-known passwords like password or 123456.

Expected Result

An error message - or at least a warning - about using insecure passwords.

Actual Result

"Superuser created successfully." and successful sign-up.

@stale
Copy link

stale bot commented May 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: stale Issue will be considered inactive soon label May 13, 2019
@davidfischer
Copy link
Contributor

I'm not opposed to having a more sane default setting of AUTH_PASSWORD_VALIDATORS .

@stale stale bot removed the Status: stale Issue will be considered inactive soon label May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants