Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[#3730] CB Invites - invite code single use only

  • mstieg
  • mstieg
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 5 months ago - 12 years 3 months ago #207756 by mstieg
CB Invites is a great component and I have been testing different security scenarios.

I feel it is vitally important that the invite code issued be checked against the email address and code issued so as a pair they can not be used more than once.

One use case of sending invitations is to build trust in a 'by invitation only' network.

If an invited person joins and then forwards their invitation email to another person, AT PRESENT, the second person CAN use the URL (with used invite code) to register.

Either (a – preferred) the additional attempt(s) should be refused and the user told such before the registration form appears, or (b) the moderator should see that it was a re-use of an invite code so they can reject the registration.
Last edit: 12 years 3 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 5 months ago #207805 by krileon
Replied by krileon on topic Re: CB Invites - invite code single use only
An invite can only be used once. The invite code allows the user to register with an email address other then the one the invite was sent to. It's common for users to go to register and use a separate email address then the one invited. It's working as intended, but if you want to disable invite codes then simply disable the invite_code field and then the only way they can accept the invite is to use the email address at time of registration that the invite was sent to.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • myann
  • myann
  • OFFLINE
  • Posts: 105
  • Thanks: 3
  • Karma: 1
12 years 3 months ago - 12 years 3 months ago #212294 by myann
Hi and sorry to open this post again but I have the same problem as mstieg.

If an invitation is sent to 4 persons, they all have the same invite code. So, if this code is transferred to another person, he/she can use it.

Morevover, in the database, in thecb_invite table, the last column has the same value for all the invitation despite the emails are differents.

In the backend, it's like all the invitations have been sent to the same person.

Can you help me please?

regards

Myann
Attachments:
Last edit: 12 years 3 months ago by myann.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 3 months ago #212349 by krileon
Replied by krileon on topic Re: CB Invites - invite code single use only
Looks like this is happening when multiple email addresses are invited at the same time. Will review and fix for next release as it needs to generate a code unique to each individual invite. As the codes are all the same it caused all invites to be accepted by 1 user.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • myann
  • myann
  • OFFLINE
  • Posts: 105
  • Thanks: 3
  • Karma: 1
12 years 3 months ago #212374 by myann
Ok, thanks!!

Hope the next release will come ASAP because I need it. I'am configure it with my personnal point system to avoid using invitex or parrainvite.

regards

Myann

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 3 months ago #212382 by krileon
Replied by krileon on topic Re: CB Invites - invite code single use only
Simply disable multiple email address via comma separation per invite for now and it'll work fine otherwise. I should have a new release out sometime this week.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum