Support a host: atom as an alias for the hostname: atom

This commit is contained in:
David Dworken 2022-04-21 21:10:25 -07:00
parent a8d4e17b66
commit fe93be79f4

View File

@ -189,6 +189,8 @@ func parseAtomizedToken(token string) (string, interface{}, error) {
switch field {
case "user":
return "(local_username = ?)", val, nil
case "host":
fallthrough
case "hostname":
return "(instr(hostname, ?) > 0)", val, nil
case "cwd":