Update GitHub module in README

This commit is contained in:
patrick brisbin 2018-10-24 08:52:02 -04:00
parent 569a85429a
commit c0a6f11a87
No known key found for this signature in database
GPG Key ID: 4243EA839B9CC425

View File

@ -6,12 +6,12 @@ OAuth2 `AuthPlugin`s for Yesod.
```hs
import Yesod.Auth
import Yesod.Auth.OAuth2.Github
import Yesod.Auth.OAuth2.GitHub
instance YesodAuth App where
-- ...
authPlugins _ = [oauth2Github clientId clientSecret]
authPlugins _ = [oauth2GitHub clientId clientSecret]
clientId :: Text
clientId = "..."