Skip to content

Commit

Permalink
Merge branch 'UPN-Lowercase' of https://github.com/VF-mbrauer/dex int…
Browse files Browse the repository at this point in the history
…o UPN-Lowercase

Signed-off-by: Maik Brauer <[email protected]>
  • Loading branch information
VF-mbrauer committed Jan 5, 2021
2 parents c55f17e + 4d246bc commit 0d53fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connector/microsoft/microsoft.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type Config struct {
Groups []string `json:"groups"`
GroupNameFormat GroupNameFormat `json:"groupNameFormat"`
UseGroupsAsWhitelist bool `json:"useGroupsAsWhitelist"`
emailToLowercase bool `json:"emailToLowercase"`
EmailToLowercase bool `json:"emailToLowercase"`
}

// Open returns a strategy for logging in through Microsoft.
Expand All @@ -69,7 +69,7 @@ func (c *Config) Open(id string, logger log.Logger) (connector.Connector, error)
groupNameFormat: c.GroupNameFormat,
useGroupsAsWhitelist: c.UseGroupsAsWhitelist,
logger: logger,
emailToLowercase: c.EmailToLowercase,
emailToLowercase: c.EmailToLowercase,
}
// By default allow logins from both personal and business/school
// accounts.
Expand Down

0 comments on commit 0d53fa2

Please sign in to comment.