Forbid root as the InfluxDB username
Change-Id: Ie66781b518e63a7b94a2506b7d7b70c777975f05 Closes-Bug: #1604307
This commit is contained in:
		@@ -38,8 +38,8 @@ attributes:
 | 
				
			|||||||
    weight: 50
 | 
					    weight: 50
 | 
				
			||||||
    type: "text"
 | 
					    type: "text"
 | 
				
			||||||
    regex:
 | 
					    regex:
 | 
				
			||||||
      source: '\S'
 | 
					      source: '^((?!root$)\S)'
 | 
				
			||||||
      error: "You must provide a username"
 | 
					      error: "You must provide a valid username"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  influxdb_userpass:
 | 
					  influxdb_userpass:
 | 
				
			||||||
    value:
 | 
					    value:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user