mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
bug
This commit is contained in:
@@ -253,7 +253,7 @@ def get_session_user_info(request):
|
||||
if user:
|
||||
user = user.first()
|
||||
dept = user.dept
|
||||
return [user.id, user.name, user, dept.id, dept.name, dept]
|
||||
return [user.id, user.username, user, dept.id, dept.name, dept]
|
||||
|
||||
|
||||
def get_user_dept(request):
|
||||
|
Reference in New Issue
Block a user