Commit 53dddf1a by bergquist

fix(oauth): remove github refs from generic auth

parent 3b6820ef
......@@ -6,4 +6,5 @@ const (
GITHUB OAuthType = iota + 1
GOOGLE
TWITTER
GENERIC
)
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment