From 9b59f9c34df2cbe63dccd0b4934b1f83a6f58826 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 18 Jul 2011 11:31:12 +0530 Subject: [PATCH] logout fixes --- startup/event_handlers.py | 2 +- startup/startup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/startup/event_handlers.py b/startup/event_handlers.py index 2bd8faee62..0efb403c0b 100644 --- a/startup/event_handlers.py +++ b/startup/event_handlers.py @@ -51,7 +51,7 @@ def on_login_post_session(login_manager): # def on_logout(login_manager): 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() # diff --git a/startup/startup.js b/startup/startup.js index a93906c3be..99b4ff6ffb 100644 --- a/startup/startup.js +++ b/startup/startup.js @@ -50,7 +50,7 @@ function startup_setup() { } else { - login_file = 'https://www.erpnext.com'; + login_file = 'http://www.erpnext.com'; } // setup toolbar pscript.startup_setup_toolbar();