[web-devel] parse error with yesod's email authentication

Michael Snoyman michael at snoyman.com
Thu Apr 14 16:50:03 CEST 2011


OK, bug should be fixed on Yackage, you'll need to install a new version of
the persistent and yesod packages and then regenerate the scaffolded site.
Thanks again for catching this.

Michael

On Wed, Apr 13, 2011 at 6:51 AM, Michael Snoyman <michael at snoyman.com>wrote:

> Definitely sounds like a bug in the new yesod-auth. Thanks for catching all
> of these during beta ;). I'll look into it.
>
> Michael
>
>
> On Wed, Apr 13, 2011 at 4:26 AM, Chris Casinghino <
> chris.casinghino at gmail.com> wrote:
>
>> Hi all,
>>
>> I'm having some trouble with the email authentication that the yesod
>> scaffolding tool sets up for me.  I'm using the Yesod 0.8 beta and ghc
>> 7.0.3.
>>
>> I created a new yesod with the yesod tool and a sqlite database.  I
>> immediately compiled it (cabal configure && cabal build) without
>> changing anything and ran the "test" binary.  I navigated to the
>> webpage and tried to register using my email address.  The email I got
>> contains this link:
>>
>>
>> http://localhost:3000/auth/page/email/verify/EmailId%20%7BunEmailId%20=%20PersistInt64%201%7D/4tia4HBeq0
>>
>> But when I click it, the webpage reports:
>>
>>  Internal Server Error
>>  Prelude.read: no parse
>>
>> Do I need to set something else up to get this working?
>>
>> Thanks for your help.  I'm loving yesod so far (already deployed my
>> first Yesod app! Luckily it doesn't need auth :)
>>
>> --Chris
>>
>> _______________________________________________
>> web-devel mailing list
>> web-devel at haskell.org
>> http://www.haskell.org/mailman/listinfo/web-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110414/41aeb8e3/attachment.htm>


More information about the web-devel mailing list