Commit c6394c65 authored by JackV's avatar JackV
Browse files

Fix redis key type in uus_mng

parent e8f7d09e
......@@ -21,7 +21,7 @@ def cli(redisurl):
def adduser(username, passwd):
"""Add UUS admin user"""
cryptpwd = crypt.crypt(passwd)
redis_store.set('usr.' + username, cryptpwd)
redis_store.set('user.' + username, cryptpwd)
......@@ -36,7 +36,7 @@ def passwd(username, passwd):
def deluser(username):
"""Delete UUS admin user"""
redis_store.delete('usr.' + username)
redis_store.delete('user.' + username)
if __name__ == '__main__':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment