-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
Hello guys!
I'm using custom function to check login on Router.onBeforeAction, with the following code
...
Session.set('fromWhere', router.url);
Router.go('/sign-in');
Session.set('entryError', 'Error.');
router.next();
...But I keep getting redirected to '/dashboard' url after signing in, no matter what page I was trying to reach.
Any suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels