app/assets/javascripts/ember-auth/ember-auth.js in ember-auth-rails-3.6.0 vs app/assets/javascripts/ember-auth/ember-auth.js in ember-auth-rails-3.6.1
- old
+ new
@@ -59,9 +59,10 @@
data: data,
async: async,
success: function(json, status, jqxhr) {
_this.set('authToken', null);
_this.set('currentUserId', null);
+ _this.set('currentUser', null);
_this.set('jqxhr', jqxhr);
return _this.trigger('signOutSuccess');
},
error: function(jqxhr) {
_this.set('jqxhr', jqxhr);