mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
v3: support party invitation from email
This commit is contained in:
@@ -568,7 +568,7 @@ async function _inviteByEmail (invite, group, inviter, req, res) {
|
||||
inviter: inviter._id,
|
||||
sentAt: Date.now(), // so we can let it expire
|
||||
});
|
||||
let link = `?groupInvite=${encrypt(groupQueryString)}`;
|
||||
let link = `/static/front?groupInvite=${encrypt(groupQueryString)}`;
|
||||
|
||||
let variables = [
|
||||
{name: 'LINK', content: link},
|
||||
|
||||
Reference in New Issue
Block a user