mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-30 02:14:48 +00:00
synced timestamps
This commit is contained in:
@@ -16,7 +16,7 @@ def change_password(arg):
|
||||
webnotes.msgprint('Old password is not correct', raise_exception=1)
|
||||
|
||||
from webnotes.utils import nowdate
|
||||
webnotes.conn.sql("update tabProfile set password=password(%s), password_last_updated=%s where name=%s",(arg['new_password'], nowdate(), webnotes.session['user']))
|
||||
webnotes.conn.sql("update tabProfile set password=password(%s) where name=%s",(arg['new_password'], nowdate(), webnotes.session['user']))
|
||||
webnotes.msgprint('Password Updated');
|
||||
|
||||
def get_user_details(arg=None):
|
||||
@@ -56,4 +56,4 @@ def set_user_image(arg=None):
|
||||
fa.save()
|
||||
|
||||
uh.set_callback('window.parent.upload_callback("%s", "%s")' \
|
||||
% (webnotes.form_dict['uploader_id'], fa.get_fid(0)))
|
||||
% (webnotes.form_dict['uploader_id'], fa.get_fid(0)))
|
||||
|
||||
Reference in New Issue
Block a user