Arc Forumnew | comments | leaders | submitlogin
Trying to create a 'retrieve password' function inside News
3 points by marcvs 4409 days ago | 5 comments
hi guys,

i'm here wondering how I could implement a retrieve password function inside News. i've tried for some time to solve it but couldn't find an answer.

do you see any solution for this? any help is welcome!

thank you, very much



2 points by akkartik 4409 days ago | link

Yes I've seen other projects do this, but it's non-trivial because you need to set up the ability to send emails first. Can your server do that?

-----

1 point by marcvs 4409 days ago | link

i've been using AWS SES, but i'm still trying to figure out how to integrate it with News.

i've found some documentation here, but i'm still scratching the surface:

http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-em...

-----

3 points by akkartik 4409 days ago | link

Interesting.

It might be simplest to just install postfix (I've tried it several times, and the three-screen configuration wizard Just Works) and then follow the steps in http://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix... to have postfix route through SES.

I'll update anarki later today with a sample for sending email through postfix.

-----

4 points by akkartik 4408 days ago | link

Ok, anarki now supports 'forgot password'; try clicking on the login link.

There's two major commits: requiring users to provide an email on signup (https://github.com/nex3/arc/commit/c984408fec), and the 'forgot password' flow to email a reset-password link (https://github.com/nex3/arc/commit/150f8a26b5)

-----

1 point by marcvs 4408 days ago | link

awesome, thanks!

-----