diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 5333f43..3eae098 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -20,9 +20,9 @@ "type": 1, "subtype": 1, "name": "", - "uri": "api/logout", + "uri": "{/api}logout?csrf={$CSRF}", "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\"}]}]", + "action": "[{\"key\": 1, \"listener\": \"click\", \"action\": [{\"key\": 1, \"type\": \"event.prevent\"}, {\"key\": 2, \"type\": \"message.request\", \"uri\": \"\", \"method\": \"POST\", \"request_type\": \"raw\"}, {\"key\": 3, \"type\": \"redirect\", \"uri\": \"\"}]}]", "icon": "power_settings_new", "order": 999, "from": "Home",