incuna / dashboard

Incuna's Internal Dashboard of Awesome
3 stars 1 forks source link

Password Change Timetable #6

Open ghickman opened 12 years ago

ghickman commented 12 years ago

Passwords need to change reasonably frequently. Every 3 months is probably a reasonable amount of time.

Add two fields on the user model: password update time and stale password

password update time would be populated in change_password view

stale password updated by a management command which runs through user's checking the date and emailing people from 2 days before their password expires until the day (only daily).

Check password on post-login and kick to change-password if stale.

login view will need a check for this to redirect regardless