update sec headers applied

This commit is contained in:
2021-12-13 15:55:10 +00:00
parent 94883ddb58
commit 83080d2652
4 changed files with 35 additions and 7 deletions
+2 -3
View File
@@ -55,7 +55,7 @@ const MyPortal = (props) => {
const handleLogout = () => {
destroyCookie({}, "pinsUser"),
window.localStorage.clear(),
router.replace("/");
router.replace(props.ggLogout);
};
return (
@@ -97,8 +97,7 @@ const MyPortal = (props) => {
>
<a
onClick={() => {
destroyCookie({}, "pinsUser"),
window.localStorage.clear();
handleLogout();
}}
className="govuk-header__link govuk-!-margin-right-3"
>