The invitation links are created by system, adds users to groups and redirects them to topic post. Working well for standard users and have been so for a while now. However, this error started appearing only for admin users.
Please help! I’m posting this with hopes that this will be fixed and it won’t be something we’ll need to fix for standard users as well.
Here’s the /log error (which is not supposed to happen): ActiveRecord::RecordInvalid (Validation failed: Primary email has already been taken) app/models/invite_redeemer.rb:72:in `create_user_from_invite' app/models/invite_redeemer.rb:144:in `get_invited_us
Failed to handle exception in exception app middleware : ActiveRecord::RecordInvalid : Validation failed: Primary email has already been taken
It’s not supposed to do that! What it used to do before is that if I’m logged in and used an invite link, it would simply add me to the group (if I’m not already a member in) and it’d redirect me to the topic post.