Merge pull request #1343 from psibi/show-creds

Add Show Instance For Creds type
This commit is contained in:
Michael Snoyman 2017-02-06 10:14:57 +02:00 committed by GitHub
commit 01378311f8
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
## 1.4.17
* Add Show instance for user credentials `Creds`
## 1.4.16
* Fix email provider [#1330](https://github.com/yesodweb/yesod/issues/1330)
* Document JSON endpoints of Yesod.Auth.Email
## 1.4.15

View File

@ -105,7 +105,7 @@ data Creds master = Creds
{ credsPlugin :: Text -- ^ How the user was authenticated
, credsIdent :: Text -- ^ Identifier. Exact meaning depends on plugin.
, credsExtra :: [(Text, Text)]
}
} deriving (Show)
class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage) => YesodAuth master where
type AuthId master