Stop logging/printing user token on failed validation

Closes-bug: #2121233

Change-Id: I0d5d0b1b0fc9978d52384a0b74a9b09f83244222
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
This commit is contained in:
Arnaud M
2025-09-09 21:13:10 +02:00
parent 0654ac44f6
commit 39b24fc6bc

View File

@@ -35,7 +35,7 @@ class KeystoneAuthHandler(auth.AuthHandler):
return
if req.headers.get('X-Auth-Token'):
msg = 'Auth token is invalid: %s' % req.headers['X-Auth-Token']
msg = 'Auth token is invalid'
else:
msg = 'Authentication required'