Commit 9e5e350c by Heechul Kim

updated

parent ea70ff04
Showing with 1 additions and 1 deletions
...@@ -81,7 +81,7 @@ def admin_auth_account(data): ...@@ -81,7 +81,7 @@ def admin_auth_account(data):
# Add admin entry in etcd and return True. # Add admin entry in etcd and return True.
d = dict() d = dict()
d['name'] = ADMIN_ID d['name'] = ADMIN_ID
d['pass'] = ADMIN_PW d['pass'] = data['pass']
d['cn'] = 'Admin' d['cn'] = 'Admin'
d['state'] = 'Enabled' d['state'] = 'Enabled'
s_expire = (datetime.now() + timedelta(days=90)).isoformat() + 'Z' s_expire = (datetime.now() + timedelta(days=90)).isoformat() + 'Z'
......
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 sign in to comment