logout fixes

This commit is contained in:
Rushabh Mehta
2011-07-18 11:31:12 +05:30
parent 61790801bb
commit 9b59f9c34d
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ def on_login_post_session(login_manager):
# #
def on_logout(login_manager): def on_logout(login_manager):
if cint(webnotes.conn.get_value('Control Panel', None, 'sync_with_gateway')): if cint(webnotes.conn.get_value('Control Panel', None, 'sync_with_gateway')):
from server_tools.server_tools.gateway_utils import logout_sso from server_tools.gateway_utils import logout_sso
logout_sso() logout_sso()
# #

View File

@@ -50,7 +50,7 @@ function startup_setup() {
} }
else { else {
login_file = 'https://www.erpnext.com'; login_file = 'http://www.erpnext.com';
} }
// setup toolbar // setup toolbar
pscript.startup_setup_toolbar(); pscript.startup_setup_toolbar();