From f02b5415afe6b1ab6a66f2af14de80a2195703a7 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 10 Feb 2017 23:45:19 -0500 Subject: [PATCH] add auth token to logout request header --- .../login/authenticationServices/authentication.service.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/login/authenticationServices/authentication.service.js b/awx/ui/client/src/login/authenticationServices/authentication.service.js index b6064e8211..9771bc46c5 100644 --- a/awx/ui/client/src/login/authenticationServices/authentication.service.js +++ b/awx/ui/client/src/login/authenticationServices/authentication.service.js @@ -61,7 +61,10 @@ export default deleteToken: function () { return $http({ method: 'DELETE', - url: GetBasePath('authtoken') + url: GetBasePath('authtoken'), + headers: { + 'Authorization': 'Token ' + this.getToken() + } }); },