Skip to content

Commit

Permalink
Fix for DOM Exception 12 on Safari (Issue #3)
Browse files Browse the repository at this point in the history
Removed trailing space from Authorization header to fix DOM Exception 12
on Safari
  • Loading branch information
cornflourblue committed Nov 5, 2015
1 parent f750c1c commit 2c6aeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-services/authentication.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
function ClearCredentials() {
$rootScope.globals = {};
$cookieStore.remove('globals');
$http.defaults.headers.common.Authorization = 'Basic ';
$http.defaults.headers.common.Authorization = 'Basic';
}
}

Expand Down

0 comments on commit 2c6aeb9

Please sign in to comment.