From dd670c842836d198e8d5baccf8a47229ddbe1429 Mon Sep 17 00:00:00 2001 From: pines Date: Tue, 19 Sep 2006 18:57:38 +0000 Subject: [PATCH] friendlier login error prompt git-svn-id: svn://svn.open-ils.org/ILS/trunk@6143 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/auth/session.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/session.js b/Open-ILS/xul/staff_client/chrome/content/auth/session.js index a4a20f58cc..80baa7b13e 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/session.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/session.js @@ -63,12 +63,12 @@ auth.session.prototype = { this.key = robj.payload.authtoken; this.authtime = robj.payload.authtime; } else { - this.error.standard_unexpected_error_alert('auth.session.init',robj); + //this.error.standard_unexpected_error_alert('auth.session.init',robj); throw(robj); } break; default: - obj.error.standard_unexpected_error_alert('auth.session.init',robj); + //obj.error.standard_unexpected_error_alert('auth.session.init',robj); throw(robj); break; } @@ -88,7 +88,8 @@ auth.session.prototype = { } } catch(E) { - obj.error.standard_unexpected_error_alert('Error on auth.session.init()',E); + alert('Login failed. Please check your Server Hostname, Username, Password, and your CAPS LOCK key.'); + //obj.error.standard_unexpected_error_alert('Error on auth.session.init()',E); if (typeof this.on_init_error == 'function') { this.error.sdump('D_AUTH','auth.session.on_init_error()\n'); -- 2.11.0