diff --git a/app/components/UserDialogs.tsx b/app/components/UserDialogs.tsx
index 6153edd53c..6022c2d105 100644
--- a/app/components/UserDialogs.tsx
+++ b/app/components/UserDialogs.tsx
@@ -7,6 +7,7 @@ import ConfirmationDialog from "~/components/ConfirmationDialog";
import Input from "~/components/Input";
import useStores from "~/hooks/useStores";
import { client } from "~/utils/ApiClient";
+import Text from "./Text";
type Props = {
user: User;
@@ -160,12 +161,12 @@ export function UserChangeEmailDialog({ user, onSubmit }: Props) {
savingText={`${t("Saving")}…`}
disabled={!email || email === user.email}
>
-
-
+
+
You will receive an email to verify your new address. It must be
unique in the workspace.
-
-
+
+
{
return `Here’s your email change confirmation.`;
}
- protected renderAsText({ code }: Props): string {
+ protected renderAsText({ teamUrl, code, to }: Props): string {
return `
You requested to update your ${env.APP_NAME} account email. Please
-follow the link below to confirm the change.
+follow the link below to confirm the change to ${to}.
- ${this.updateLink(code)}
+ ${this.updateLink(teamUrl, code)}
`;
}
- protected render({ code }: Props) {
+ protected render({ teamUrl, code, to }: Props) {
return (
@@ -48,11 +49,13 @@ follow the link below to confirm the change.
Your email update request
You requested to update your {env.APP_NAME} account email. Please
- click below to confirm the change.
+ click below to confirm the change to {to}.