mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 19:03:36 +00:00
improvement: address feedback
This commit is contained in:
@@ -27,7 +27,7 @@ export const PasswordResetTemplate = ({ 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>
|
||||
</>
|
||||
@@ -39,8 +39,8 @@ export const PasswordResetTemplate = ({ 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"
|
||||
>
|
||||
Reset Password
|
||||
</Button>
|
||||
@@ -54,5 +54,7 @@ export default PasswordResetTemplate;
|
||||
PasswordResetTemplate.PreviewProps = {
|
||||
email: "[email protected]",
|
||||
callback_url: "https://app.infisical.com",
|
||||
isCloud: true
|
||||
isCloud: true,
|
||||
token: "preview-token",
|
||||
siteUrl: "https://infisical.com"
|
||||
} as PasswordResetTemplateProps;
|
||||
|
||||
Reference in New Issue
Block a user