mirror of https://github.com/jumpserver/jumpserver
parent
9bab7bf1e7
commit
1c96443e73
@ -1,5 +1,5 @@
|
||||
|
||||
def name_proc(request):
|
||||
user_id = request.session.get('user_id')
|
||||
role = request.session.get('role')
|
||||
return {'user_id': user_id, 'role': role}
|
||||
role = request.session.get('role_id')
|
||||
return {'user_id': user_id, 'role_id': role}
|
Loading…
Reference in new issue