When logintoboggan is configured with a pre-authenticated role, it allows any user to register and set their password when they log in, but puts them in a special "not yet authenticated" role which limits their privileges. When the user validates their email address, they are removed from this role and get full access to the site.

This patch removes users from the pre-authenticated role if they have accepted an invitation by code. Since they received the invitation, they must have access to the email account where it was sent, so accepting the invitation verifies the address just as well as Logintoboggan's validation emails do.

Comments

scottgifford’s picture

StatusFileSize
new2.59 KB

Also, if invite_accept is treated as confirming an email address, it should only be called if the user has explicitly accepted an invitation by ID, and not if the user registered and we found an invitation for them lying around. This patch implements that change.

Gabriel R.’s picture

This is a very useful feature and something we will try to add to our site.

Before we start hacking at it, is there an update to the above patch? Maybe a Drupal 6 version?

I don't dare moving this to 6.x ... but I will when we start work on it.

Seph’s picture

Have either of these been committed to the current version of Invite for Drupal 7?

ckng’s picture

Version: 5.x-2.x-dev » 7.x-4.x-dev
Priority: Minor » Normal
Issue summary: View changes
Status: Needs review » Needs work

Looks like a useful feature, KIV for 7.x-4.x.

ckng’s picture

ckng’s picture

Status: Needs work » Closed (duplicate)