Skip to content

Commit 2c6aeb9

Browse files
committed
Fix for DOM Exception 12 on Safari (Issue cornflourblue#3)
Removed trailing space from Authorization header to fix DOM Exception 12 on Safari
1 parent f750c1c commit 2c6aeb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-services/authentication.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
function ClearCredentials() {
5959
$rootScope.globals = {};
6060
$cookieStore.remove('globals');
61-
$http.defaults.headers.common.Authorization = 'Basic ';
61+
$http.defaults.headers.common.Authorization = 'Basic';
6262
}
6363
}
6464

0 commit comments

Comments
 (0)