mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 15:41:27 +00:00
improvement: address feedback
This commit is contained in:
@@ -26,7 +26,7 @@ export const PasswordSetupTemplate = ({ email, isCloud, siteUrl, callback_url, t
|
||||
{isCloud ? (
|
||||
<>
|
||||
us immediately at{" "}
|
||||
<Link href={`mailto:[email protected]`} className="text-slate-700 no-underline">
|
||||
<Link href="mailto:[email protected]" className="text-slate-700 no-underline">
|
||||
support@infisical.com
|
||||
</Link>
|
||||
</>
|
||||
@@ -38,8 +38,8 @@ export const PasswordSetupTemplate = ({ email, isCloud, siteUrl, callback_url, t
|
||||
</Section>
|
||||
<Section className="text-center mt-[28px]">
|
||||
<Button
|
||||
href={`${callback_url}?token=${token}&to=${email}`}
|
||||
className="rounded-md p-3 px-[28px] my-[8px] text-center text-[16px] bg-[#EBF852] border-solid border border-[#d1e309] text-black font-medium"
|
||||
href={`${callback_url}?token=${token}&to=${encodeURIComponent(email)}`}
|
||||
className="rounded-md p-3 px-[28px] my-[8px] text-center text-[16px] bg-[#EBF852] border-solid border border-[#d1e309] text-black font-medium"
|
||||
>
|
||||
Set Up Password
|
||||
</Button>
|
||||
@@ -53,5 +53,7 @@ export default PasswordSetupTemplate;
|
||||
PasswordSetupTemplate.PreviewProps = {
|
||||
email: "[email protected]",
|
||||
callback_url: "https://app.infisical.com",
|
||||
isCloud: true
|
||||
isCloud: true,
|
||||
siteUrl: "https://infisical.com",
|
||||
token: "preview-token"
|
||||
} as PasswordSetupTemplateProps;
|
||||
|
||||
Reference in New Issue
Block a user