Fwd: [web-devel] Including saltPass in the Auth2.Email API

Michael Snoyman michael at snoyman.com
Tue Oct 19 07:57:32 CEST 2010

Sorry, forgot to Reply All:

---------- Forwarded message ----------
From: Michael Snoyman <michael at snoyman.com>
Date: Tue, Oct 19, 2010 at 7:30 AM
Subject: Re: [web-devel] Including saltPass in the Auth2.Email API
To: Max Cantor <mxcantor at gmail.com>

On Tue, Oct 19, 2010 at 7:18 AM, Max Cantor <mxcantor at gmail.com> wrote:
> Michael,
> What do you think about exporting the saltPass function in the Auth2.Email plugin.  The reason I would want this would be so that passwords could be set programmatically as opposed to solely via the current form.  Currently, I just cut and pasted the code into my code, but it doesn't seem like this is a particularly sane/future-proof way to work.  Any thoughts?

Sounds great, I've justed pushed a commit to Git. By the way, starting
with yesod 0.6/yesod-auth 0.2, the code lives under
Yesod.Helpers.Auth.*, as it should. The Auth2 namespace was only to
avoid conflicts with yesod 0.5. You mind waiting till 0.6 is released
to have access to this function?

By the way, porting to 0.6 should be a piece of cake.


More information about the web-devel mailing list