config: add missing "pam" case
Fixes: 24cae474db
("Add support for PAM authentication")
This commit is contained in:
parent
b2d9af22c3
commit
a331d2368a
@ -162,7 +162,7 @@ func parse(cfg scfg.Block) (*Server, error) {
|
||||
return nil, err
|
||||
}
|
||||
switch srv.Auth.Driver {
|
||||
case "internal":
|
||||
case "internal", "pam":
|
||||
srv.Auth.Source = ""
|
||||
case "oauth2":
|
||||
if err := d.ParseParams(nil, &srv.Auth.Source); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user