logout fixes
This commit is contained in:
parent
61790801bb
commit
9b59f9c34d
@ -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()
|
||||
|
||||
#
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user