Code-Poets / sheetstorm

Web working hours sheet for Code-Poets employees
https://www.sheetstorm.codepoets.it
2 stars 0 forks source link

Bugfix previous password can be new password #605

Closed marsolekk closed 3 years ago

marsolekk commented 3 years ago

It should be treated as "draft" at this moment due to an unresolved issue with typing in the validate() method of ReusedPreviousPasswordValidator class. I've added type: ignore comment to prevent mypy raise error. I'll look into it once more later, but I didn't find a simple, sufficient solution for that yet.

marsolekk commented 3 years ago

I've implemented ReusedPreviousPasswordValidator that checks previous(current) user password and raise ValidationError if is the same as typed.