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

Unexpected slashes in resetToken #101

Closed
alex-bashkatov-ezlo opened this issue May 29, 2018 · 1 comment
Closed

Unexpected slashes in resetToken #101

alex-bashkatov-ezlo opened this issue May 29, 2018 · 1 comment

Comments

@alex-bashkatov-ezlo
Copy link

Hi guys, is there a quick trick to eliminate the following problem?
I moved from feathers-service-verify-reset. After sendResetPwd action I get resetToken with slashes sometimes. e.g. $2a$12$n28vK4wS6cCjqzLxLjl35OOo4W11L/EuIO.M4RgYLVE3JQOB//wDO
options.longTokenLen is default.
As my react-router doesn't expect extra slashes - it got broken in unpredictable way. As I recall feathers-service-verify-reset never produced such hashes ((
Please advice.

Module versions (especially the part that's not working):
2.0.0
NodeJS version:
8.5.0

@alex-bashkatov-ezlo
Copy link
Author

Probably, I got what's wrong with my usage. I have to work with id__hhhash instead of hashed id__hhhash from database. All comparisons are ruled by module internals.
Never mind.

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

No branches or pull requests

1 participant