ruby on rails - With devise, how can I dynamically set config options such as password length? -
in application, want users able specify own password security.
i'm using devise , devise security extension looks good.
the downside suggested configurations in devise security extension takes place in devise.rb config file in initializers directory. able selectively include configuration options.
i guess could, example, enable everything, , @ user model, override methods such need_change_password?
in user model expiring passwords. i'm not sure if that's best approach.
any guidance best practices appreciated.
Comments
Post a Comment