Add minimum password length setting (#10867)

This commit is contained in:
Tony Murray
2019-11-25 04:11:18 +00:00
committed by GitHub
parent 404b3b71ba
commit 04b65d3202
3 changed files with 20 additions and 7 deletions

View File

@@ -3,10 +3,10 @@
"/css/app.css": "/css/app.css?id=17e56994706c74ee9663",
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
"/js/vendor.js": "/js/vendor.js?id=00c1d21ecfea78860e09",
"/js/lang/de.js": "/js/lang/de.js?id=02ee8c9e8d8bc19b0d22",
"/js/lang/en.js": "/js/lang/en.js?id=82df0ce96032b77cc049",
"/js/lang/fr.js": "/js/lang/fr.js?id=51f0ee3b59a7dace8913",
"/js/lang/ru.js": "/js/lang/ru.js?id=dc6cb9314c4903b00501",
"/js/lang/uk.js": "/js/lang/uk.js?id=669c4652f87dfd31ce7a",
"/js/lang/zh-TW.js": "/js/lang/zh-TW.js?id=b1e12788f52d49174cbc"
"/js/lang/de.js": "/js/lang/de.js?id=e0623715e8df0895188b",
"/js/lang/en.js": "/js/lang/en.js?id=116363543952443ac4cb",
"/js/lang/fr.js": "/js/lang/fr.js?id=2d1159debd99a1909f12",
"/js/lang/ru.js": "/js/lang/ru.js?id=b007ddce75134acbe635",
"/js/lang/uk.js": "/js/lang/uk.js?id=146819d3cf1dfb16672d",
"/js/lang/zh-TW.js": "/js/lang/zh-TW.js?id=f57574a3892e5990ecbc"
}

View File

@@ -3548,6 +3548,13 @@
"page_title_suffix": {
"type": "text"
},
"password.min_length": {
"default": 8,
"type": "integer",
"group": "auth",
"section": "general",
"order": 5
},
"peering_descr": {
"default": [
"peering"
@@ -3861,7 +3868,7 @@
"default": false,
"group": "auth",
"section": "general",
"order": 5,
"order": 6,
"type": "boolean"
},
"rancid_ignorecomments": {

View File

@@ -576,6 +576,12 @@ return [
'help' => 'Oxidized API url (For example: http://127.0.0.1:8888)'
]
],
'password' => [
'min_length' => [
'description' => 'Minimum password length',
'help' => 'Passwords shorter than the given length will be rejected'
]
],
'peeringdb' => [
'enabled' => [
'description' => 'Enable PeeringDB lookup',