mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
logout fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user