api chang
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Dec 2005 21:48:45 +0000 (21:48 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Dec 2005 21:48:45 +0000 (21:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2243 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

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