diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index ee98b32..7b64e55 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -20,8 +20,9 @@ "type": 1, "subtype": 1, "name": "Logout", - "uri": "{/prefix}api/logout?{?}", + "uri": "{/prefix}api/logout", "target": "self", + "action": "[{\"key\": 1, \"listener\": \"click\", \"action\": [{\"key\": 1, \"type\": \"event.prevent\"}, {\"key\": 2, \"type\": \"message.request\", \"uri\": \"/api/logout\", \"method\": \"POST\", \"request_type\": \"raw\"}, {\"key\": 3, \"type\": \"dom.reload\"}]}]", "icon": "fa fa-power-off", "order": 999, "from": "Home",