Worklight logout does not clear active user
问题 I am using Worklight 6.1 and am using a challange handler to determine if my user is logged or not. Once logged in, I have the following code attached to my logout button in my app: on(logoutBtn, "click", lang.hitch(this, function() { WL.Client.logout('AdapterAuthRealm', { onSuccess:lang.hitch(this, function() { this.gotoView("login"); }), onFailure:lang.hitch(this, function() { WL.Logger.error("Unable to logout"); })}); return false; })); Clicking it opens the login view, but when the user