You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I noticed that there might be an error in the authorize method.
I had to change this.HeaderName to this.authorizationHeaderName
authorize: function(jqXHR, requestOptions) {
var token = this.get('session.' + this.tokenPropertyName);
if (this.get('session.isAuthenticated') && !Ember.isEmpty(token)) {
if (!isSecureUrl(requestOptions.url)) {
Ember.Logger.warn('Credentials are transmitted via an insecure connection - use HTTPS to keep them secure.');
}
jqXHR.setRequestHeader(this.authorizationHeaderName, this.authorizationPrefix + token);
}
}
The text was updated successfully, but these errors were encountered:
Hi I noticed that there might be an error in the authorize method.
I had to change this.HeaderName to this.authorizationHeaderName
The text was updated successfully, but these errors were encountered: