diff --git a/src/metabase/public_settings.clj b/src/metabase/public_settings.clj index 06324a824c6ff48aa5cf03607c063495087d1930..49149f6cd66e9c91d609a5a1b75da9f6d12f6e09 100644 --- a/src/metabase/public_settings.clj +++ b/src/metabase/public_settings.clj @@ -65,7 +65,7 @@ (defn public-settings - "Return a simple map of key/value pairs which represent the public settings for the front-end application." + "Return a simple map of key/value pairs which represent the public settings (`MetabaseBootstrap`) for the front-end application." [] {:ga_code "UA-60817802-1" :password_complexity password/active-password-complexity diff --git a/src/metabase/util/password.clj b/src/metabase/util/password.clj index 8d4beb33efcb405b16a2e079855133eeffdaaf0d..6fed45e3e85f2b61f3cdc2dba5a44374e4db588b 100644 --- a/src/metabase/util/password.clj +++ b/src/metabase/util/password.clj @@ -46,7 +46,7 @@ (when (>= (occurances char-type) min-count) (recur more))))))) -(def ^:const active-password-complexity +(def active-password-complexity "The currently configured description of the password complexity rules being enforced" (merge (complexity->char-type->min (config/config-kw :mb-password-complexity)) ;; Setting MB_PASSWORD_LENGTH overrides the default :total for a given password complexity class