Fix capitalisation on name for login link

This commit is contained in:
silky 2016-01-02 20:45:01 +11:00
parent 7354c36e13
commit 5f37a521ba

View File

@ -67,7 +67,7 @@ oauth2GithubScoped :: YesodAuth m
-> Text -- ^ Client Secret -> Text -- ^ Client Secret
-> [Text] -- ^ List of scopes to request -> [Text] -- ^ List of scopes to request
-> AuthPlugin m -> AuthPlugin m
oauth2GithubScoped clientId clientSecret scopes = authOAuth2 "github" oauth fetchGithubProfile oauth2GithubScoped clientId clientSecret scopes = authOAuth2 "GitHub" oauth fetchGithubProfile
where where
oauth = OAuth2 oauth = OAuth2
{ oauthClientId = encodeUtf8 clientId { oauthClientId = encodeUtf8 clientId