Closed gp4pgit closed 8 years ago
Now it should fit... finally... :-)
Have you tested this with a real back end api? I think it will fail to authenticate if the authorization header doesn't have a space between the 'Basic' and the Base64 encoded auth data.
You might just need to remove the space from the ClearCredentials function on line 61 of authentication.service.js.
I've just updated the ClearCredentials function to remove the trailing space from the auth header when logging out.
Thanks for the help!
This fixes the following error: [Error] Error: SyntaxError: DOM Exception 12 setRequestHeader@[native code]...