Merge pull request #1326 from psibi/verkey
Change the type signature from Text to Verkey
This commit is contained in:
commit
6d3c530ab8
@ -238,7 +238,7 @@ class ( YesodAuth site
|
|||||||
-- | Generate a random alphanumeric string.
|
-- | Generate a random alphanumeric string.
|
||||||
--
|
--
|
||||||
-- @since 1.1.0
|
-- @since 1.1.0
|
||||||
randomKey :: site -> IO Text
|
randomKey :: site -> IO VerKey
|
||||||
randomKey _ = Nonce.nonce128urlT defaultNonceGen
|
randomKey _ = Nonce.nonce128urlT defaultNonceGen
|
||||||
|
|
||||||
-- | Route to send user to after password has been set correctly.
|
-- | Route to send user to after password has been set correctly.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user