Closed
Description
The user verify link is made in such way that it provides redirect path in the middle of whole link.
The problem is that when one would use redirect=/#/my-angular-path
then the token is treated as hash valu and isn't read by api (to verify) and api throws error.
Redirect is added on line 407 and token on 431.
I would just remove:
'&redirect=' +
options.redirect;
from line 407 and put it behind
options.verifyHref += '&token=' + user.verificationToken;
on line 431