Merge pull request #1343 from psibi/show-creds
Add Show Instance For Creds type
This commit is contained in:
commit
01378311f8
@ -1,6 +1,11 @@
|
|||||||
|
## 1.4.17
|
||||||
|
|
||||||
|
* Add Show instance for user credentials `Creds`
|
||||||
|
|
||||||
## 1.4.16
|
## 1.4.16
|
||||||
|
|
||||||
* Fix email provider [#1330](https://github.com/yesodweb/yesod/issues/1330)
|
* Fix email provider [#1330](https://github.com/yesodweb/yesod/issues/1330)
|
||||||
|
* Document JSON endpoints of Yesod.Auth.Email
|
||||||
|
|
||||||
## 1.4.15
|
## 1.4.15
|
||||||
|
|
||||||
|
|||||||
@ -105,7 +105,7 @@ data Creds master = Creds
|
|||||||
{ credsPlugin :: Text -- ^ How the user was authenticated
|
{ credsPlugin :: Text -- ^ How the user was authenticated
|
||||||
, credsIdent :: Text -- ^ Identifier. Exact meaning depends on plugin.
|
, credsIdent :: Text -- ^ Identifier. Exact meaning depends on plugin.
|
||||||
, credsExtra :: [(Text, Text)]
|
, credsExtra :: [(Text, Text)]
|
||||||
}
|
} deriving (Show)
|
||||||
|
|
||||||
class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage) => YesodAuth master where
|
class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage) => YesodAuth master where
|
||||||
type AuthId master
|
type AuthId master
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user