clear pinsuser id from cookie

This commit is contained in:
2024-10-03 11:04:10 +01:00
parent 8fbec7e794
commit de8319db54
8 changed files with 61 additions and 54 deletions
+1 -20
View File
@@ -81,26 +81,7 @@ const RegisterComplete = (props) => {
</p>
<p className="govuk-body">
<Link
href="/"
className="govuk-link"
// onClick={() => {
// console.info(
// "////////////\n" +
// "logout" +
// "\n////////////"
// );
// window.localStorage.clear(),
// destroyCookie(null, "next-auth.csrf-token"),
// destroyCookie(
// null,
// "next-auth.callback-url"
// ),
// destroyCookie(null, "pedw_locale"),
// destroyCookie(null, "pinsUser"),
// signOut({ callbackUrl: "/logout" });
// }}
>
<Link href="/" className="govuk-link">
{t("account:register-new-account-my-portal-link")}
</Link>
</p>