I have been tasked with updating an app to add a few more validations for users who want to update their password. I am curious if devise already has these things and they are just not documented anywhere.
Right now I am attempting to
1. user shouldn't update their password with their current password
2. restricting password to certainly alpha numeric characters / or excluding a list of them
3. excepting spaces for a password
My first thought and research (since I didn't find anything) is that I will have to create these validations myself in the model and call it a day. But is it possible that devise has something already in place for some of these and their for I don't need to create my own?
Just wondering your thoughts