From 521d8bc352a050f1cc31954e2c3ed0f292662b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Wed, 29 Jun 2016 12:17:19 +0300 Subject: [PATCH] safe mode is active on logging out --- opt/ahenk/ahenkd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opt/ahenk/ahenkd.py b/opt/ahenk/ahenkd.py index c4f36e4..77c708d 100755 --- a/opt/ahenk/ahenkd.py +++ b/opt/ahenk/ahenkd.py @@ -290,6 +290,8 @@ class AhenkDeamon(BaseDaemon): db_service.delete('session', 'username=\'{}\''.format(username)) db_service.update('session', scope.getDbService().get_cols('session'), [username, display, desktop, Util.timestamp()]) get_policy_message = message_manager.policy_request_msg(username) + + plugin_manager.process_safe_mode(username) messenger.send_direct_message(get_policy_message) elif 'logout' == str(json_data['event']):