throw an exception when auth fails
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 2 Nov 2005 05:37:58 +0000 (05:37 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 2 Nov 2005 05:37:58 +0000 (05:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1943 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/evergreen/auth/session.js

index c5ca1a2..92e2848 100644 (file)
@@ -70,11 +70,13 @@ auth.session.prototype = {
                                this.on_init_error(E);
                        }
 
-                       //throw(E);
+                       throw(E);
+                       /* This was for testing
                        if (typeof this.on_init == 'function') {
                                this.error.sdump('D_AUTH','auth.session.on_init() despite error\n');
                                this.on_init();
                        }
+                       */
                }
 
        },