Dump headers as well
This commit is contained in:
parent
5af0984054
commit
0b20fe7f7e
@ -43,7 +43,7 @@ Cloudron.prototype.getOauthToken = function (user) {
|
||||
///////// should get redirected to login form with a script tag (to workaround chrome issue with redirects+cookies)
|
||||
var redirectUrl = res.text.match(/window.location.href = "(.*)"/);
|
||||
if (!redirectUrl) {
|
||||
debug('Could not determine redirected url', res.text);
|
||||
debug('Could not determine redirected url', res.text, res.headers);
|
||||
assert(false);
|
||||
}
|
||||
var urlp = url.parse(redirectUrl[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user