OAuth: Specify allowed email address domains for google or and github oauth logins, Closes #1660

This commit is contained in:
Torkel Ödegaard
2015-04-06 14:16:22 +02:00
parent 7a95451288
commit eb575685aa
6 changed files with 50 additions and 10 deletions
+1
View File
@@ -5,6 +5,7 @@ type OAuthInfo struct {
Scopes []string
AuthUrl, TokenUrl string
Enabled bool
AllowedDomains []string
}
type OAuther struct {