-
- {{ config.user?.email }}
+
+
+
+
+ {{ config.user.name ?? config.user.email }}
@@ -73,6 +76,14 @@ watchEffect(() => {
setTitle(t("title.dashboard", { count: runningContainers.length }));
}
});
+
+async function logout() {
+ await fetch(withBase("/api/token"), {
+ method: "DELETE",
+ });
+
+ location.reload();
+}