Rename gestionnaire to instructeur in a comment
About an (unused for now) env var.
This commit is contained in:
parent
f9708a4ac3
commit
7c7947adeb
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# valid values are from 0 to 4, 0 means very simple, 4 means high level of complexity.
|
# valid values are from 0 to 4, 0 means very simple, 4 means high level of complexity.
|
||||||
if !defined?(PASSWORD_MIN_LENGTH)
|
if !defined?(PASSWORD_MIN_LENGTH)
|
||||||
# PASSWORD_COMPLEXITY_FOR_USER = ENV.fetch('PASSWORD_COMPLEXITY_FOR_USER', '2').to_i
|
# PASSWORD_COMPLEXITY_FOR_USER = ENV.fetch('PASSWORD_COMPLEXITY_FOR_USER', '2').to_i
|
||||||
# PASSWORD_COMPLEXITY_FOR_GESTIONNAIRE = ENV.fetch('PASSWORD_COMPLEXITY_FOR_GESTIONNAIRE', '3').to_i
|
# PASSWORD_COMPLEXITY_FOR_INSTRUCTEUR = ENV.fetch('PASSWORD_COMPLEXITY_FOR_INSTRUCTEUR', '3').to_i
|
||||||
PASSWORD_COMPLEXITY_FOR_ADMIN = ENV.fetch('PASSWORD_COMPLEXITY_FOR_ADMIN', '4').to_i
|
PASSWORD_COMPLEXITY_FOR_ADMIN = ENV.fetch('PASSWORD_COMPLEXITY_FOR_ADMIN', '4').to_i
|
||||||
# password minimum length
|
# password minimum length
|
||||||
PASSWORD_MIN_LENGTH = ENV.fetch('PASSWORD_MIN_LENGTH', '8').to_i
|
PASSWORD_MIN_LENGTH = ENV.fetch('PASSWORD_MIN_LENGTH', '8').to_i
|
||||||
|
|
Loading…
Reference in a new issue