diff --git a/CHANGELOG.md b/CHANGELOG.md index b533ef2070..db976f019f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Escaping XML's forbidden characters [#2562](https://github.com/opendatateam/udata/pull/2562) - Ignore pattern feature for linkchecker [#2564](https://github.com/opendatateam/udata/pull/2564) +- Fix i18n in CLI for password complexity checker [#2566](https://github.com/opendatateam/udata/pull/2566) ## 2.4.0 (2020-10-16) diff --git a/udata/auth/password_validation.py b/udata/auth/password_validation.py index c94206be34..c3246a79e4 100644 --- a/udata/auth/password_validation.py +++ b/udata/auth/password_validation.py @@ -2,7 +2,7 @@ from flask import current_app -from udata.i18n import lazy_gettext as _ +from udata.i18n import gettext as _ def password_validator(password, is_register, **kwargs):