From f406b53fc4a2b694932468b01175b65ae13409e3 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 8 Dec 2016 17:29:12 +0530 Subject: [PATCH] xmpp: Show error jsxc dialog when authentication fails --- plinth/modules/xmpp/static/jsxc-plinth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plinth/modules/xmpp/static/jsxc-plinth.js b/plinth/modules/xmpp/static/jsxc-plinth.js index 17e69d759..26b1953c5 100644 --- a/plinth/modules/xmpp/static/jsxc-plinth.js +++ b/plinth/modules/xmpp/static/jsxc-plinth.js @@ -52,7 +52,8 @@ $(function() { loginForm: { form: '#jsxc-login-form', jid: '#jsxc-username', - pass: '#jsxc-password' + pass: '#jsxc-password', + onAuthFail: 'ask', }, checkFlash: false, rosterAppend: 'body',