diff --git a/www/LoginView.js b/www/LoginView.js index ae796795..2ba07277 100644 --- a/www/LoginView.js +++ b/www/LoginView.js @@ -184,12 +184,11 @@ Ext.define('PBS.LoginView', { method: 'POST', failure: function(response) { loginForm.unmask(); + let error = response.htmlStatus; Ext.MessageBox.alert( gettext('Error'), - gettext('Login failed. Please try again
Error: ' + response.htmlStatus), - function() { - window.location = redirect_url; - }, + gettext('OpenID login failed, please try again') + `
${error}`, + () => { window.location = redirectURL; }, ); }, success: function(response, options) {