mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-09 18:52:16 +03:00
safe mode is active on logging out
This commit is contained in:
parent
8b9c05727f
commit
521d8bc352
1 changed files with 2 additions and 0 deletions
|
@ -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']):
|
||||
|
|
Loading…
Reference in a new issue