feathersjs-ecosystem/feathers-authentication-management

Unexpected slashes in resetToken

alex-bashkatov-ezlo opened this issue · 1 comments

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

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.