From 2c6aeb97be5f033b641ae89d828ff1ab83b96324 Mon Sep 17 00:00:00 2001 From: Jason Watmore Date: Fri, 6 Nov 2015 10:06:41 +1100 Subject: [PATCH] Fix for DOM Exception 12 on Safari (Issue #3) Removed trailing space from Authorization header to fix DOM Exception 12 on Safari --- app-services/authentication.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-services/authentication.service.js b/app-services/authentication.service.js index 4cf85ee..04e9d55 100644 --- a/app-services/authentication.service.js +++ b/app-services/authentication.service.js @@ -58,7 +58,7 @@ function ClearCredentials() { $rootScope.globals = {}; $cookieStore.remove('globals'); - $http.defaults.headers.common.Authorization = 'Basic '; + $http.defaults.headers.common.Authorization = 'Basic'; } }