Page 3 of 4

Forgot password link

Posted: Sun Sep 22, 2013 8:29 pm
by Doug Black

I agree! I've been struggling with this for two days now and I just can't get it. Any further assistance would be extremely helpful!


Forgot password link

Posted: Mon Sep 23, 2013 12:06 pm
by Maryna Brodina

Hello! you would need to implement mechanism of creating this code which will be saved in users table for each corresponding user and then will be send in email. I'll promote this idea regarding creating such tutorial, but it will take some time.


Forgot password link

Posted: Mon Sep 23, 2013 1:51 pm
by Doug Black

Here's the code I use for the random number:
var randomString = Math.random().toString(36).slice(-12);
localStorage.setItem('recoverPass',randomString);

The question for me is just how to do this stuff on the server side and call it correctly.

Thanks Marina for your patience! :)


Forgot password link

Posted: Tue Sep 24, 2013 4:00 pm
by Deon

Thanks Doug

I am still lost though.


Forgot password link

Posted: Wed Sep 25, 2013 10:21 am
by Maryna Brodina

Hello! On server side there is no localStorage, but there is DB API http://docs.appery.io/documentation/b...
You can generate code:
prevar randomString = Math.random().toString(36).slice(-12);/pre
and save it to DB record of corresponding user.


Forgot password link

Posted: Fri Sep 27, 2013 12:16 pm
by Deon

Is there anyone out there that can help me with this? Am I the only person that has this problem?

Thanks


Forgot password link

Posted: Fri Sep 27, 2013 1:07 pm
by Maryna Brodina

Hi Deon! Please check the following post https://getsatisfaction.com/apperyio/... and let us know what is the problem you have?


Forgot password link

Posted: Fri Sep 27, 2013 2:31 pm
by Doug Black

I'm working on a script for this Deon; follow along at the post above.


Forgot password link

Posted: Mon Sep 30, 2013 3:18 am
by Deon

Great stuff, thank you Doug and Marina


Forgot password link

Posted: Thu Oct 24, 2013 1:27 pm
by Johnny

also want this function.