summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-10-16 00:09:27 -0300
committerLunny Xiao <xiaolunwen@gmail.com>2019-10-16 11:09:27 +0800
commit595033f78ea46d3029a5d4500a42c0347dc9e397 (patch)
treea2f05d478b95c5a2315f6961c758f95fe1ed947e /options
parentdb0d4ffdc7d0800b7785beddee4a715b1f7589bd (diff)
downloadgitea-595033f78ea46d3029a5d4500a42c0347dc9e397.tar.gz
gitea-595033f78ea46d3029a5d4500a42c0347dc9e397.zip
Fix password complexity regex for special characters (backport for v1.10.0) (#8524)
* Fix extra space * Fix regular expression * Fix error template name * Simplify check code, fix default values, add test * Fix router tests * Fix fmt * Fix setting and lint * Move cleaning up code to test, improve comments * Tidy up variable declaration
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 4a92b08030..94ded93c59 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -315,7 +315,7 @@ team_no_units_error = Allow access to at least one repository section.
email_been_used = The email address is already used.
openid_been_used = The OpenID address '%s' is already used.
username_password_incorrect = Username or password is incorrect.
-password_complexity = Password does not pass complexity requirements.
+password_complexity = Password does not pass complexity requirements.
enterred_invalid_repo_name = The repository name you entered is incorrect.
enterred_invalid_owner_name = The new owner name is not valid.
enterred_invalid_password = The password you entered is incorrect.