Fix url redirect to a only path redirect when joining a team (#3757)
* fix full url redirect to a only path redirect * Remove string templates Co-authored-by: Omar López <zomars@me.com> Co-authored-by: Omar López <zomars@me.com>
This commit is contained in:
1 parent
57869f0b88
commit
b936b7c256
1 file changed
+1
-3
@@ -265,9 +265,7 @@ export const viewerTeamsRouter = createProtectedRouter()
|
||||
from: ctx.user.name,
|
||||
to: input.usernameOrEmail,
|
||||
teamName: team.name,
|
||||
joinLink: `${WEBAPP_URL}/auth/signup?token=${token}&callbackUrl=${
|
||||
WEBAPP_URL + "/settings/teams"
|
||||
}`,
|
||||
joinLink: `${WEBAPP_URL}/auth/signup?token=${token}&callbackUrl=/settings/teams`,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user