Skip to content

Commit dc70ac9

Browse files
Stricter Password Policy for Gitea (#1624)
Stricter Password Policy for Gitea Reviewed-by: Tino Schr
1 parent c66b004 commit dc70ac9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

playbooks/roles/gitea/templates/app.ini.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ DISABLE_GIT_HOOKS = true
7474
DISABLE_WEBHOOKS = false
7575
;;If left empty or no valid values are specified, the default is off (no checking)
7676
;;Classes include "lower,upper,digit,spec"
77-
;PASSWORD_COMPLEXITY = off
77+
PASSWORD_COMPLEXITY = lower,upper,digit
78+
MIN_PASSWORD_LENGTH = 32
7879
SUCCESSFUL_TOKENS_CACHE_SIZE = 20
7980

8081
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

0 commit comments

Comments
 (0)