Commit d9023da9 authored by Patricio Cano's avatar Patricio Cano

Refactored password_strength configuration

parent bf07fcf0
...@@ -4,29 +4,25 @@ overwritten_messages = ...@@ -4,29 +4,25 @@ overwritten_messages =
overwritten_rules = overwritten_rules =
wordSequences: false wordSequences: false
options =
showProgressBar: false
showVerdicts: false
showPopover: true
showErrors: true
showStatus: true
errorMessages: overwritten_messages
$(document).ready -> $(document).ready ->
profileOptions = {} profileOptions = {}
profileOptions.ui = profileOptions.ui = options
showProgressBar: false
showVerdicts: false
showPopover: true
showErrors: true
showStatus: true
errorMessages: overwritten_messages
profileOptions.rules = profileOptions.rules =
activated: overwritten_rules activated: overwritten_rules
deviseOptions = {} deviseOptions = {}
deviseOptions.common = deviseOptions.common =
usernameField: "#user_username" usernameField: "#user_username"
deviseOptions.ui = deviseOptions.ui = options
showPopover: true
showErrors: true
showVerdicts: false
showProgressBar: false
showStatus: true
errorMessages: overwritten_messages
deviseOptions.rules = deviseOptions.rules =
activated: overwritten_rules activated: overwritten_rules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment