diff options
author | mrsdizzie <info@mrsdizzie.com> | 2020-08-21 18:42:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 18:42:23 -0400 |
commit | fb70b5d207d8a0c3c2ce9eb04b361146a347d894 (patch) | |
tree | 94ad1f05acae5520447599997f4f4bfe8375f257 /custom | |
parent | 7c2cf236f8a54038e1688e6256e6c32b8b4e6913 (diff) | |
download | gitea-fb70b5d207d8a0c3c2ce9eb04b361146a347d894.tar.gz gitea-fb70b5d207d8a0c3c2ce9eb04b361146a347d894.zip |
Disable password complexity check default (#12557)
* Disable password complexity check default
These features enourange bad passwords/are annoying for people using better password methods, and at minimum we shouldn't force that as a default for obvious reasons. Disable any default check to avoid regular complaints.
* fix copy paste format
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index f3030edd82..8d4636bfe4 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -497,9 +497,9 @@ DISABLE_GIT_HOOKS = false ; Set to false to allow pushes to gitea repositories despite having an incomplete environment - NOT RECOMMENDED ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET = true ;Comma separated list of character classes required to pass minimum complexity. -;If left empty or no valid values are specified, the default values ("lower,upper,digit,spec") will be used. -;Use "off" to disable checking. -PASSWORD_COMPLEXITY = lower,upper,digit,spec +;If left empty or no valid values are specified, the default is off (no checking) +;Classes include "lower,upper,digit,spec" +PASSWORD_COMPLEXITY = off ; Password Hash algorithm, either "pbkdf2", "argon2", "scrypt" or "bcrypt" PASSWORD_HASH_ALGO = pbkdf2 ; Set false to allow JavaScript to read CSRF cookie |