summaryrefslogtreecommitdiffstats
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 100bb229ee..2e0ff91910 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -212,7 +212,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- lower - use one or more lower latin characters
- upper - use one or more upper latin characters
- digit - use one or more digits
- - spec - use one or more special characters as ``][!"#$%&'()*+,./:;<=>?@\^_{|}~`-`` and space symbol.
+ - spec - use one or more special characters as ``!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~``
+ - off - do not check password complexity
## OpenID (`openid`)