Is there a way to change the minimum length for passwords with restful_authentication? Currently it's 6 characters and I need another value.
I've tried calling validates_length_of before and after Authentication::ByPassword like this
validates_length_of :password, :within => 4..40, :if => :password_required?
include Authentication::ByPassword
and like this:
include Authentication::ByPassword
validates_length_of :password, :within => 4..40, :if => :password_required?
but the minimum password remained at 6.