logout google account when user sign out

This commit is contained in:
Xuan Sang LE
2018-03-04 12:35:19 +01:00
parent aeecaa4e81
commit b35096bcca
5 changed files with 36 additions and 11 deletions

View File

@ -16,7 +16,7 @@ class UserService extends this.OS.GUI.BaseService
}
]
@onmenuselect = (d) ->
return me._api.handler.logout() if d.item.data.dataid is "sys-logout"
return window.OS.exit() if d.item.data.dataid is "sys-logout"
me.notify "This feature is not implemented yet"
awake: (e) ->