From 5f37a521baf9e78547b848c627cce0c426af0eb3 Mon Sep 17 00:00:00 2001 From: silky Date: Sat, 2 Jan 2016 20:45:01 +1100 Subject: [PATCH] Fix capitalisation on name for login link --- Yesod/Auth/OAuth2/Github.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yesod/Auth/OAuth2/Github.hs b/Yesod/Auth/OAuth2/Github.hs index 4d48ff3..576f771 100644 --- a/Yesod/Auth/OAuth2/Github.hs +++ b/Yesod/Auth/OAuth2/Github.hs @@ -67,7 +67,7 @@ oauth2GithubScoped :: YesodAuth m -> Text -- ^ Client Secret -> [Text] -- ^ List of scopes to request -> AuthPlugin m -oauth2GithubScoped clientId clientSecret scopes = authOAuth2 "github" oauth fetchGithubProfile +oauth2GithubScoped clientId clientSecret scopes = authOAuth2 "GitHub" oauth fetchGithubProfile where oauth = OAuth2 { oauthClientId = encodeUtf8 clientId