mirror of https://github.com/jumpserver/jumpserver
Update user_api.py
parent
ecfb2f3d40
commit
b5fefb4687
|
@ -183,6 +183,7 @@ def server_del_user(username):
|
|||
bash('userdel -r -f %s' % username)
|
||||
logger.debug('rm -f %s/%s_*.pem' % (os.path.join(KEY_DIR, 'user'), username))
|
||||
bash('rm -f %s/%s_*.pem' % (os.path.join(KEY_DIR, 'user'), username))
|
||||
bash('rm -f %s/%s.pem' % (os.path.join(KEY_DIR, 'user'), username))
|
||||
|
||||
|
||||
def get_display_msg(user, password='', ssh_key_pwd='', send_mail_need=False):
|
||||
|
|
Loading…
Reference in New Issue