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

Sorry, forgot to Reply All:
---------- Forwarded message ----------
From: Michael Snoyman
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. Michael
participants (1)
-
Michael Snoyman