misc: provide url even in case of failure

(local change found on mandayejs.test, dated 2018-10-18)
This commit is contained in:
Frédéric Péters 2019-01-06 16:16:47 +01:00
parent 57e9a56057
commit 586fb962c3
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ page.open(input.address, function(status) {
} else {
output['result'] = 'failure';
output['reason'] = 'authentication';
output['url'] = page.frameUrl;
}
mandaye_exit(JSON.stringify(output));
}