Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset password: use server-side template #131

Open
endel opened this issue Feb 25, 2015 · 3 comments
Open

Reset password: use server-side template #131

endel opened this issue Feb 25, 2015 · 3 comments

Comments

@endel
Copy link
Contributor

endel commented Feb 25, 2015

Currently to reset passwords it's necessary to implement everything in front-end.

It should be necessary only to trigger auth.forgotPassword in the frontend. The auth.resetPassword should be deprecated.

So the process should be the following:

  1. front-end calls forgotPassword method. (email template customization)
  2. user receives an email with the link to hook server, to reset the password
  3. user fill the new password, and get redirected to the front-end
@landall
Copy link

landall commented Oct 2, 2018

It can be implemented by two apps.
One is a server-side app to provide a link to check the link id and reset new password.
One do not call forgotPassword but save a link id and send a email.

@endel
Copy link
Contributor Author

endel commented Oct 2, 2018

Hi @landall, are you using hook in some project or just playing around with it?

I'm asking because this project hasn't been maintained for quite a while, as I've been investing my time on other projects.

@landall
Copy link

landall commented Oct 2, 2018

@endel .i’m seeking a easy-to-use BaaS framework and find hook in github. just read the docs but try nothing. I think it is just designed as i want but i cannot find the docs about some features. for example how to set a role to a user in order to implement admin and normal user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants