GUACAMOLE-36: Define and enforce password policies.

This commit is contained in:
Michael Jumper
2016-08-17 15:19:47 -07:00
parent 14e8c6fc50
commit 3744755a1e
16 changed files with 899 additions and 1 deletions

View File

@@ -54,6 +54,16 @@
"INFO_SHARED_BY" : "Shared by {USERNAME}"
},
"PASSWORD_POLICY" : {
"ERROR_CONTAINS_USERNAME" : "Passwords may not contain the username.",
"ERROR_REQUIRES_DIGIT" : "Passwords must contain at least one digit.",
"ERROR_REQUIRES_MULTIPLE_CASE" : "Passwords must contain both uppercase and lowercase characters.",
"ERROR_REQUIRES_NON_ALNUM" : "Passwords must contain at least one symbol.",
"ERROR_TOO_SHORT" : "Passwords must be at least {LENGTH} {LENGTH, plural, one{character} other{characters}} long."
},
"USER_ATTRIBUTES" : {
"FIELD_HEADER_DISABLED" : "Login disabled:",