mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 03:27:15 +00:00
Fixed issues with breadcrumbs and redirects of forgot password
This commit is contained in:
@@ -25,6 +25,7 @@ export default function NavHeader({
|
|||||||
const [orgName, setOrgName] = useState('');
|
const [orgName, setOrgName] = useState('');
|
||||||
const [workspaceName, setWorkspaceName] = useState('');
|
const [workspaceName, setWorkspaceName] = useState('');
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const projectId = String(router.query.id);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
(async () => {
|
(async () => {
|
||||||
@@ -35,12 +36,12 @@ export default function NavHeader({
|
|||||||
setOrgName(org.name);
|
setOrgName(org.name);
|
||||||
|
|
||||||
const workspace = await getProjectInfo({
|
const workspace = await getProjectInfo({
|
||||||
projectId: String(router.query.id)
|
projectId
|
||||||
});
|
});
|
||||||
setWorkspaceName(workspace.name);
|
setWorkspaceName(workspace.name);
|
||||||
})();
|
})();
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, []);
|
}, [projectId]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="pt-20 ml-6 flex flex-row items-center">
|
<div className="pt-20 ml-6 flex flex-row items-center">
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ export const publicPaths = [
|
|||||||
`/privacy`,
|
`/privacy`,
|
||||||
`/terms`,
|
`/terms`,
|
||||||
`/subprocessors`,
|
`/subprocessors`,
|
||||||
|
`/verify-email`,
|
||||||
|
`/password-reset`,
|
||||||
];
|
];
|
||||||
|
|
||||||
export const languageMap = {
|
export const languageMap = {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export default function VerifyEmail() {
|
|||||||
<title>Login</title>
|
<title>Login</title>
|
||||||
<link rel="icon" href="/infisical.ico" />
|
<link rel="icon" href="/infisical.ico" />
|
||||||
<meta property="og:image" content="/images/message.png" />
|
<meta property="og:image" content="/images/message.png" />
|
||||||
<meta property="og:title" content="Log In to Infisical" />
|
<meta property="og:title" content="Verify your email in Infisical" />
|
||||||
<meta
|
<meta
|
||||||
name="og:description"
|
name="og:description"
|
||||||
content="Infisical a simple end-to-end encrypted platform that enables teams to sync and manage their .env files."
|
content="Infisical a simple end-to-end encrypted platform that enables teams to sync and manage their .env files."
|
||||||
|
|||||||
Reference in New Issue
Block a user