Changed to platform
This commit is contained in:
@@ -11,14 +11,15 @@
|
||||
<img src="/logo_title.png" class="w-48 h-48 self-center" />
|
||||
<div>
|
||||
<span>Hello future {{type}} of <b>EnCoach</b>,</span><br />
|
||||
<span>You have been invited to register at <a href="https://app.encoach.com/register?code={{code}}">EnCoach</a> to
|
||||
<span>You have been invited to register at <a href="https://platform.encoach.com/register?code={{code}}">EnCoach</a>
|
||||
to
|
||||
become a
|
||||
{{type}}!</span><br />
|
||||
<span>Please use the following code when registering:</span>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<a href="https://app.encoach.com/register?code={{code}}"></a>
|
||||
<a href="https://platform.encoach.com/register?code={{code}}"></a>
|
||||
<span class="self-center p-4 px-12 text-lg text-[#]" style="background-color: #D5D9F0; color: #353338">
|
||||
<b>{{code}}</b>
|
||||
</span>
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function Reset({code, mode, apiKey, continueUrl}: {code: string;
|
||||
if (mode === "signIn") {
|
||||
axios
|
||||
.post<{ok: boolean}>("/api/reset/verify", {
|
||||
email: continueUrl?.replace("https://app.encoach.com/", ""),
|
||||
email: continueUrl?.replace("https://platform.encoach.com/", ""),
|
||||
})
|
||||
.then((response) => {
|
||||
if (response.data.ok) {
|
||||
|
||||
@@ -12,7 +12,7 @@ export default withIronSessionApiRoute(sendVerification, sessionOptions);
|
||||
async function sendVerification(req: NextApiRequest, res: NextApiResponse) {
|
||||
if (req.session.user) {
|
||||
sendSignInLinkToEmail(auth, req.session.user.email, {
|
||||
url: `https://app.encoach.com/${req.session.user.email}`,
|
||||
url: `https://platform.encoach.com/${req.session.user.email}`,
|
||||
handleCodeInApp: true,
|
||||
})
|
||||
.then(() => res.status(200).json({ok: true}))
|
||||
|
||||
Reference in New Issue
Block a user