fix in change password
This commit is contained in:
parent
237ac638f5
commit
f27b67b474
@ -172,8 +172,7 @@ def update_security(args=''):
|
||||
res = server_tools.gateway_utils.change_password('', args['new_password'], args['user'], args['sys_admin_pwd'])
|
||||
if 'Traceback' not in res['message']:
|
||||
webnotes.msgprint(res['message'])
|
||||
else:
|
||||
webnotes.conn.sql("update tabProfile set password=password(%s) where name=%s", (args['new_password'], args['user']))
|
||||
webnotes.conn.sql("update tabProfile set password=password(%s) where name=%s", (args['new_password'], args['user']))
|
||||
else: webnotes.msgprint('Settings Updated')
|
||||
|
||||
welcome_txt = """
|
||||
|
Loading…
x
Reference in New Issue
Block a user