Change invite email link to /login to avoid 404
cgen-4ff75aeb4bd34ba1b8e9df4d22b45fad
This commit is contained in:
parent
fae1badef3
commit
4bf75a77f6
1 changed files with 1 additions and 1 deletions
|
|
@ -705,7 +705,7 @@ export function createServer() {
|
||||||
.single();
|
.single();
|
||||||
if (error) return res.status(500).json({ error: error.message });
|
if (error) return res.status(500).json({ error: error.message });
|
||||||
|
|
||||||
const inviteUrl = `${baseUrl}/signup?invite=${encodeURIComponent(token)}`;
|
const inviteUrl = `${baseUrl}/login?invite=${encodeURIComponent(token)}`;
|
||||||
|
|
||||||
if (emailService.isConfigured) {
|
if (emailService.isConfigured) {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue