NodeBB-Community / nodebb-plugin-user-invitations

A NodeBB plugin allowing current users to email invitations to potential new users.
10 stars 10 forks source link

Invite links don't work () #53

Closed teotikalki closed 4 years ago

teotikalki commented 5 years ago

Environment Host: SmartOS hypervisor, Debian 9.4 (stretch) 20180404 zone(VM) Running NodeBB v1.10.2 (Note: Dedicated VM) Backed by: Remote psql (PostgreSQL) 10.5 (Debian 10.5-1.pgdg90+1) Behind: Nginx Reverse Proxy nodebb-plugin-user-invitations: Installed 0.6.0 | Latest 0.6.0

I recently installed this plugin and performed some tests alongside the default invitation method. It functionally failed: the user got an invitation email with a link that didn't work. Using the default method the user got an invitation email that did work. The key apparent difference was the presence of a token. The links from the email are as follows (email address sanitized):

-> Default https://teotihuacanata.ca/forum/register?token=5e662c4f-ed8a-46f1-9315-063eab820e2f&email=bsname%40hotmail.com

-> User Invitations Plugin https://teotihuacanata.ca/forum/register

yariplus commented 5 years ago

Hey there,

User Registration must be set to Normal for this plugin to work. It will not work alongside the default invitation method, as it was developed before that was even a thing.

I tested up to 1.12.x and it still works using this method.