Forbid root as the InfluxDB username

Change-Id: Ie66781b518e63a7b94a2506b7d7b70c777975f05
Closes-Bug: #1604307
This commit is contained in:
Simon Pasquier
2016-07-19 11:21:47 +02:00
parent 1e9cdecbcb
commit dc782a9106

View File

@@ -38,8 +38,8 @@ attributes:
weight: 50
type: "text"
regex:
source: '\S'
error: "You must provide a username"
source: '^((?!root$)\S)'
error: "You must provide a valid username"
influxdb_userpass:
value: