config: add missing "pam" case

Fixes: 24cae474db ("Add support for PAM authentication")
This commit is contained in:
Simon Ser 2023-01-30 23:32:07 +01:00
parent b2d9af22c3
commit a331d2368a

View File

@ -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 {