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.
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 thelogin
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.