Commit 858c7df8 authored by ibuler's avatar ibuler

Merge branch 'bugfix' of github.com:jumpserver/jumpserver into bugfix

parents 2d07eeb1 2eb942a9
...@@ -73,7 +73,6 @@ class UserPermissionCacheMixin: ...@@ -73,7 +73,6 @@ class UserPermissionCacheMixin:
request_md5 = self.get_request_md5() request_md5 = self.get_request_md5()
meta_cache_id = self.get_meta_cache_id() meta_cache_id = self.get_meta_cache_id()
resp_cache_id = '{}_{}_{}'.format(obj_id, request_md5, meta_cache_id) resp_cache_id = '{}_{}_{}'.format(obj_id, request_md5, meta_cache_id)
resp_cache_id = md5(resp_cache_id.encode()).hexdigest()
return resp_cache_id return resp_cache_id
def get_response_from_cache(self): def get_response_from_cache(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment