minor bugfixes
This commit is contained in:
parent
3a32478db9
commit
f2c4c4231f
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
*.comp.js
|
||||
.DS_Store
|
||||
server_tools
|
||||
services
|
||||
user_files
|
||||
patch.log
|
||||
lib
|
||||
|
@ -12,7 +12,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) where name=%s",(arg['new_password'], nowdate(), webnotes.session['user']))
|
||||
webnotes.conn.sql("update tabProfile set password=password(%s), modified=%s where name=%s",(arg['new_password'], nowdate(), webnotes.session['user']))
|
||||
webnotes.msgprint('Password Updated');
|
||||
|
||||
def get_user_details(arg=None):
|
||||
|
@ -55,14 +55,6 @@ pscript.startup_make_sidebar = function() {
|
||||
// menu
|
||||
var ml = r.message;
|
||||
|
||||
// login-file
|
||||
if(r.login_url){
|
||||
login_file = 'http://' + r.login_url;
|
||||
}
|
||||
else if(pscript.is_erpnext_saas) {
|
||||
login_file = 'https://www.erpnext.com';
|
||||
}
|
||||
|
||||
// clear
|
||||
page_body.left_sidebar.innerHTML = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user