mirror of https://github.com/jumpserver/jumpserver
user.update
parent
a99f024dfc
commit
1c3b66c1a8
|
@ -93,7 +93,7 @@ def db_update_user(**kwargs):
|
|||
user.update(**kwargs)
|
||||
if pwd != '':
|
||||
user_get.set_password(pwd)
|
||||
# user.save()
|
||||
user_get.save()
|
||||
else:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue