fix syntax error

This commit is contained in:
techknowlogick 2018-07-19 18:05:15 -04:00 committed by GitHub
parent 5583427d71
commit b20cc10f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,7 +174,7 @@ func createProvider(providerName, providerType, clientID, clientSecret, openIDCo
case "twitter":
provider = twitter.NewAuthenticate(clientID, clientSecret, callbackURL)
case "discord":
provider = discord.New(clientID, clientSecret, callbackURL, discord.ScopeIdentify, discord.ScopeEmail),
provider = discord.New(clientID, clientSecret, callbackURL, discord.ScopeIdentify, discord.ScopeEmail)
}
// always set the name if provider is created so we can support multiple setups of 1 provider