Skip to content

Commit

Permalink
pkg/atlas: Add config for stryder username source
Browse files Browse the repository at this point in the history
  • Loading branch information
pg9182 committed Jan 22, 2024
1 parent 07194a6 commit 178ea83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/atlas/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,12 @@ func configureUsernameSource(c *Config) (api0.UsernameSource, error) {
return api0.UsernameSourceEAX, nil
case "eax-origin":
return api0.UsernameSourceEAXOrigin, nil
case "stryder":
return api0.UsernameSourceStryder, nil
case "stryder-eax":
return api0.UsernameSourceStryderEAX, nil
case "stryder-eax-debug":
return api0.UsernameSourceStryderEAXDebug, nil
case "":
// backwards compat
if c.OriginEmail != "" {
Expand Down

0 comments on commit 178ea83

Please sign in to comment.