From a4ff47b01a93c956950cd8f7c46511c1793c45b2 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 16 Feb 2012 13:02:44 -0800 Subject: [PATCH] Revert "swift: auth response returns X-Auth-Token instead of X-Storage-Token" This reverts commit e8e1e5dffbd25e2124331e607264e1bc4120676c. --- src/rgw/rgw_swift_auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_swift_auth.cc b/src/rgw/rgw_swift_auth.cc index 428a17ff6f3d2..03725bef895ea 100644 --- a/src/rgw/rgw_swift_auth.cc +++ b/src/rgw/rgw_swift_auth.cc @@ -205,7 +205,7 @@ void RGW_SWIFT_Auth_Get::execute() char buf[bl.length() * 2 + 1]; buf_to_hex((const unsigned char *)bl.c_str(), bl.length(), buf); - CGI_PRINTF(s, "X-Auth-Token: AUTH_rgwtk%s\n", buf); + CGI_PRINTF(s, "X-Storage-Token: AUTH_rgwtk%s\n", buf); } ret = STATUS_NO_CONTENT; -- 2.39.5