app/assets/javascripts/ember-auth/ember-auth.js in ember-auth-rails-3.4.1 vs app/assets/javascripts/ember-auth/ember-auth.js in ember-auth-rails-3.4.2
- old
+ new
@@ -183,10 +183,10 @@
recall: function() {
var data, token;
if (!Auth.Config.get('rememberMe')) {
return;
}
- if (token = $.cookie('ember-auth-remember-me')) {
+ if (!Auth.get('authToken') && (token = $.cookie('ember-auth-remember-me'))) {
data = {};
data[Auth.Config.get('rememberTokenKey')] = token;
return Auth.signIn(data);
}
},