Add placeholder
This commit is contained in:
parent
b24808927a
commit
a844ddf2b5
@ -513,7 +513,7 @@ func (p *panelBody) verifyNamingScheme() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Validate placeholders used
|
// Validate placeholders used
|
||||||
validPlaceholders := []string{"id", "username", "nickname"}
|
validPlaceholders := []string{"id", "username", "nickname", "id_padded"}
|
||||||
for _, match := range placeholderPattern.FindAllStringSubmatch(*p.NamingScheme, -1) {
|
for _, match := range placeholderPattern.FindAllStringSubmatch(*p.NamingScheme, -1) {
|
||||||
if len(match) < 2 { // Infallible
|
if len(match) < 2 { // Infallible
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user