解决分页bug,和random_pass

This commit is contained in:
广宏伟
2015-11-15 18:20:34 +08:00
parent 218ba0d189
commit 333ee713d4
4 changed files with 12 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ def db_del_user(username):
def gen_ssh_key(username, password='',
key_dir=os.path.join(BASE_DIR, 'keys/user/'),
key_dir=os.path.join(KEY_DIR, 'user'),
authorized_keys=True, home="/home", length=2048):
"""
generate a user ssh key in a property dir