From 9a3e9dae45678221e034807e268941aa865ea139 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 3 Feb 2021 15:29:08 +0100 Subject: [PATCH] add sign out url --- packages/dashboard/src/components/Layout.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/src/components/Layout.js b/packages/dashboard/src/components/Layout.js index 39dafadf..cb5c4928 100644 --- a/packages/dashboard/src/components/Layout.js +++ b/packages/dashboard/src/components/Layout.js @@ -1,6 +1,9 @@ import Link from "next/link"; import Head from "next/head"; import { useState } from "react"; +import config from "../../src/config"; + +const signOutUrl = `${config.kratos.browser}/self-service/browser/flows/logout`; export default function Layout({ title, children }) { const [menuOpen, openMenu] = useState(false); @@ -105,7 +108,7 @@ export default function Layout({ title, children }) { @@ -194,7 +197,7 @@ export default function Layout({ title, children }) { Sign out