mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-28 16:16:41 +00:00
[Update] 系统用户新增清除认证的操作
This commit is contained in:
@@ -107,6 +107,7 @@ class AssetUser(models.Model):
|
||||
def clear_auth(self):
|
||||
self._password = ''
|
||||
self._private_key = ''
|
||||
self._public_key = ''
|
||||
self.save()
|
||||
|
||||
def auto_gen_auth(self):
|
||||
|
Reference in New Issue
Block a user