minor bugfixes

This commit is contained in:
Rushabh Mehta 2012-01-19 11:43:34 +01:00
parent 3a32478db9
commit f2c4c4231f
3 changed files with 2 additions and 9 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
*.comp.js
.DS_Store
server_tools
services
user_files
patch.log
lib

View File

@ -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):

View File

@ -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 = '';