Incorrect behavior of validate_password method
Logging fails when security_compliance is turn on and password_regex is invalid. Change-Id: I283ee3eb587199339987bb6c2c5a54d10cebaabc
This commit is contained in:
parent
163f4e4a6e
commit
72af261687
|
@ -41,7 +41,7 @@ def validate_password(password):
|
|||
detail=pattern_desc)
|
||||
except re.error:
|
||||
msg = ("Unable to validate password due to invalid regular "
|
||||
"expression - password_regex: ")
|
||||
"expression - password_regex: %s")
|
||||
LOG.error(msg, pattern)
|
||||
detail = _("Unable to validate password due to invalid "
|
||||
"configuration")
|
||||
|
|
Loading…
Reference in New Issue