api change
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Dec 2005 16:36:27 +0000 (16:36 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Dec 2005 16:36:27 +0000 (16:36 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2261 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 3fa9cec..cacc656 100644 (file)
@@ -38,7 +38,7 @@ auth.session.prototype = {
                                );
 
                                if (robj.ilsevent == 0) {
-                                       this.key = robj.payload;
+                                       this.key = robj.payload.authtoken;
                                } else {
                                        var error = robj.ilsevent + ' : ' + this.error.get_ilsevent( robj.ilsevent );
                                        this.error.sdump('D_AUTH','auth.session.init: ' + error + '\n');