auth_token middleware have twice cache for a valided token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Won't Fix
|
Low
|
Unassigned |
Bug Description
when a user_token == UUID_TOKEN_
if (len(user_token) > cms.UUID_
else:
in verify_uuid_token function ,if the the user_token is valided(200),it will cache the user_token and data,
if response.status == 200:
return data
so ,when function return, the main code also cache again.
i think ,it only need to cache once ,when function return.
affects: | keystone → python-keystoneclient |
Changed in python-keystoneclient: | |
importance: | Undecided → Low |
Please submit your fix as a patch in gerrit? If, for some reason you cannot, please attach your fix to the bug as a diff, ideally one generated using git format-patch