Permalink
Browse files

logout call was overriding local storage

  • Loading branch information...
1 parent 9946c25 commit e9e05dab18c9c27da41192509bb582fde6c7fcec @rodsimpson rodsimpson committed Feb 11, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 js/usergrid.js
View
@@ -46,7 +46,6 @@ Usergrid.Client = function(options) {
this._callTimeout = options.callTimeout || 30000; //default to 30 seconds
this._callTimeoutCallback = options.callTimeoutCallback || null;
this.logoutCallback = options.logoutCallback || null;
- this.logout(); //needed to clear out any remnant token out of local storage
};
/*

0 comments on commit e9e05da

Please sign in to comment.