Closed burakkilic closed 9 years ago
Hi;
I tried to use RegExp like
.unless({ path: ['/auth/login', '/auth/signup', '^\/auth\/reset\/[A-Za-z0-9-_]*'] }))
to let /auth/reset/46b957ea7272a916f5d71e79d7fde7dab7a91414
but it is not allowed. How can I do that?
Remove the ' ' from around the RegExp. Right now your RegExp is being read as a string.
Thank you.
Hi;
I tried to use RegExp like
to let /auth/reset/46b957ea7272a916f5d71e79d7fde7dab7a91414
but it is not allowed. How can I do that?