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

(Don't) redirect on login #150

Open
finikm opened this issue Aug 25, 2016 · 1 comment
Open

(Don't) redirect on login #150

finikm opened this issue Aug 25, 2016 · 1 comment

Comments

@finikm
Copy link

finikm commented Aug 25, 2016

Is it possible to suppress the redirect after the login; When I use the authenticate function, I pass the current url as the redirect url, thus avoiding any redirect, but when the user uses the login function (username/password), there's no such option. If is not, is it possible to add the same functionality?

I guess I could use fetch to do the login, save the token manually using the setToken function added few days ago, but I would prefer a cleaner way.

@paulvanbladel
Copy link
Owner

thanks, I'll check this.

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

2 participants