Enable password field type without need to quote
This commit is contained in:
parent
2087ea5fb5
commit
e27a9e78a7
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ func (p *parser) parseDuration() (time.Duration, error) {
|
|||
|
||||
func (p *parser) parseType() (t, k string, err error) {
|
||||
|
||||
_, t, err = p.shouldBe(IDENT, STRING)
|
||||
_, t, err = p.shouldBe(IDENT, STRING, PASSWORD)
|
||||
if err != nil {
|
||||
err = &ParseError{Found: t, Expected: allowedTypes}
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue