From 586fb962c36b6854a00d8712e500532ceaae2fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 6 Jan 2019 16:16:47 +0100 Subject: [PATCH] misc: provide url even in case of failure (local change found on mandayejs.test, dated 2018-10-18) --- mandayejs/do_login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mandayejs/do_login.js b/mandayejs/do_login.js index 827dced..dc9aa06 100644 --- a/mandayejs/do_login.js +++ b/mandayejs/do_login.js @@ -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)); }