Restrict public registration to certain email domains (bounty)

2 Jahre 7 Monate her #147806 von felixvd
Use case: I am running a student council election and I want to restrict the votes to one per student. I know that all students have an email address of a format "*", but not each student's email address.

The solution is one of these:

1) Allow public registration, but only for email addresses that match a certain pattern / regex.

2) Run a separate daemon that sends requests to register/invite new email addresses to the survey.

I ended up implementing the second solution on SurveyMonkey, but the first solution would have definitely been easier. We will run the election again in half a year, so I will prefer to give the money to whoever pushes this feature. An integrated email domain check would really make a good tool for identity verification in institutions.


Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
2 Jahre 7 Monate her - 2 Jahre 7 Monate her #147808 von DenisChenu

I think best is to do a little plugin using beforeRegister .
In this plugin : test the domain . If the domain exist (not empty, set etc ...) name is not "" => add an error 'Only user with can register'.

Seems not a really great task , one day work maximum.


Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .
Letzte Änderung: 2 Jahre 7 Monate her von DenisChenu.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey