Merge pull request #1326 from psibi/verkey

Change the type signature from Text to Verkey
This commit is contained in:
Michael Snoyman 2017-01-02 09:40:56 +02:00 committed by GitHub
commit 6d3c530ab8

View File

@ -238,7 +238,7 @@ class ( YesodAuth site
-- | Generate a random alphanumeric string.
--
-- @since 1.1.0
randomKey :: site -> IO Text
randomKey :: site -> IO VerKey
randomKey _ = Nonce.nonce128urlT defaultNonceGen
-- | Route to send user to after password has been set correctly.