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

Expire Password Feature #2852

Open
9mido opened this issue May 3, 2021 · 5 comments
Open

Expire Password Feature #2852

9mido opened this issue May 3, 2021 · 5 comments

Comments

@9mido
Copy link
Contributor

9mido commented May 3, 2021

What does everyone think about an optional setting like ACCOUNT_PASSWORD_EXPIRE = True|False and ACCOUNT_PASSWORD_EXPIRE_DAYS = integer. This would allow for any website to have the ability to force users to change their password every X number of days.

Another possibility would be whether you would want to allow users to re-use their previous passwords again or not. But this can always be a future thing.

This stackoverflow answer uses a custom user model to do it so that would probably need to be written in the documentation with a custom user model example.

https://stackoverflow.com/questions/15571046/django-force-password-expiration

There is also:

https://github.com/pinax/django-user-accounts

But how would this tie into allauth?

@derek-adair
Copy link

I would support this and any other feature that allows for the option of more security / privacy.

+1

@varunsaral
Copy link
Contributor

@pennersr I'll do it, will share the outline shortly with you.

@varunsaral
Copy link
Contributor

Coming back to this, will start scoping this.

@shoaib-moeen
Copy link

@pennersr . Can I take a look into this?

@varunsaral
Copy link
Contributor

Hey @shoaib-moeen apologise I'm late in this but I have already started working on this. I'll be very grateful if you can look into some other issues. Thank you. Sorry @pennersr for being late, I was busy in work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants