fix(oauth): remove github refs from generic auth

This commit is contained in:
bergquist committed 2016-09-07 10:55:46 +02:00
1 parent 3b6820ef03
commit 53dddf1a8f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -6,4 +6,5 @@ const (
GITHUB OAuthType = iota + 1
GOOGLE
TWITTER
GENERIC
)
+1 -1
View File
@@ -22,7 +22,7 @@ type GenericOAuth struct {
}
func (s *GenericOAuth) Type() int {
return int(models.GITHUB)
return int(models.GENERIC)
}
func (s *GenericOAuth) IsEmailAllowed(email string) bool {