Email-based self-registration with admin confirmation

Authentication ::: auth_emailadmin
Maintained by Felipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
Latest release:
1362 sites
108 fans
Current versions available: 5

Please read the INSTALL file carefully

Moodle plugin to provide email self-registration with admin confirmation.

The confirmation email is sent to the main admin account's email address.

When the admin clicks on the confirmation link, a "welcome" email is sent to the user.

Email body needs to be customized within the language file.

Based on default email-based self-registration module.

What's new in 1.4.6
Issues fixed (thanks to KerstinSc, deds:, gmrsagar for their contributions):

ISSUE-50: Proper escaping of single qutoes in lang file,

ISSUE-45: User can login without admin's intervention (using Re-send confirmation button),

ISSUE-42: Privacy provider test failing,

ISSUE-38: Confirmation message to the admin gives randomly wrong user name.

What's new in 1.4.5
Compatibility fix for Moodle 3.9

What's new in 1.4.4

fix(ISSUE-29): repairs config reference for Captcha after Settings API migration

What's new in 1.4.3
fix(ISSUE-17): repairs lock user fields, db update
feat(ISSUE-18): adds support for notifying users with user update capability
fix(ISSUE-21): updates config to use settings api
fix(ISSUE-25): makes use of lib function to gather profile fields

What's new in 1.4.2
fix(ISSUE-26): adds login and capability check to confirm.php (fixes phantom user-confirm)


Screenshot #0
Screenshot #1


Felipe Carasso (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Sep 30, 2020, 8:59 PM
    I'll investigate. In the mean time, please confirm that you guys disabled the default Email registration.

    Thank you,
  • Tue, Oct 6, 2020, 1:37 PM
    Hi guys, I tried it out and even though Moodle offers to resend the confirmation email, my test user never gets it nor can sign in until confirmed by the admin.

  • Tue, Oct 6, 2020, 4:13 PM
    This is true. Also from the moment that you don't want the user to be able to see this message you can alter this text to something like "Please wait for your institution to confrim your account" and with css hide the button to resend confirmation and problem solved.
  • Mon, Oct 19, 2020, 6:15 PM
    I'm sorry to inform you that we have this problem on our Moodle 3.9 instance.
    Here is how to reproduce the bug (the default email registration is disabled) :
    1. User creates account
    2. After submitting the form, Moodle says "ok, an admin will confirm your account, just wait"
    3. Before the admin validates the account, if the user tries to log in, Moodle says "your account is not activated now, I can send you an email with the confirmation link"
    4. If the user click on the button the mail is sent and the user is able to bypass the admin confirmation

    Any idea to fix this? We have a lot of users bypassing the admin validation...
    Thank you
  • Mon, Oct 19, 2020, 6:32 PM
    Hello Oliver, what i did facing the exact same problem is that i hide the button with CSS and i altered the text of this message to something like
    "You account is pending activation, as soon as it has been activated you will receive an email from our Administrator".

    You can find this message at: moodledata/lang/en_local/moodle.php . If the file or folder don't exist you can create it by yourself.

    and the code:

    defined('MOODLE_INTERNAL') || die();

    $string['emailconfirmsent'] = '

    Pending Activation

    Your account is waiting activation from our admin

    After activation you will receive an email at the email address you have used during your registration.

    Company Team

    $string['emailresetconfirmsent'] = 'In order to be able to sign in your account must have been approved from our admin. When your account has been activated you will receive an email at the email address you have used during your registration.';
    $string['mustconfirm'] = ' ';

    Always remember to clear cache after editing files.
  • Tue, Nov 3, 2020, 7:46 PM
    Thank you Angelo for your help.
    I was able to hide the button with CSS and edit strings text using the Moodle built in language editor.

    It is a good workaround until the plugin is fixed.

    However it doesn't fix the password reset tool provided by moodle.
    On the "email" field Moodle is able to see the account is not approved (a tooltip is displayed to say that). But a mail with the account confirmaiton link is still sent to the user sad
  • Wed, Dec 2, 2020, 4:21 PM
    This plug in not working as it whished to do
    Once the user submit the registration form, yes, the admin receiving the confirmation mail to approve / activate the user account.
    But if admin didn't approve or user tried to log in with the credential that they created, they will see a window to resend the confirmation email and the user directly getting the confirmation /activation email.. so admin approved or not approved, the user account get activated

  • Thu, Dec 3, 2020, 11:13 AM
    Unfortunately Moodle added the 'Resend Confirmation' feature as a core feature and my plugin has no control over it.

    I opened a bug:

    Please vote and comment there.

    Thank you.
  • Fri, Jan 29, 2021, 4:01 AM
    I can't open the tracker. Would you please update the version for moodle 3.10+?
  • Sun, Jan 31, 2021, 9:04 AM
    Hi Zuey, done, also added a link to instructions on how to patch Moodle while the fix is not published upstream.
  • Thu, May 6, 2021, 3:22 PM
    Hi, With this option, the user email cannot validate. actually the activation emails with link should go to user email once admin approved the request.
    is there any option to validate the user email address also as there is chance for misspell the email ID and later spam issue
  • Fri, Jul 2, 2021, 2:21 PM
    Moodle 3.10.4 error update plugin with git and this error Eccezione - syntax error, unexpected 'll' (T_STRING)
    thanks for any help
  • Mon, Jul 19, 2021, 3:13 PM
    can this plugin rejected user from email admin? and then send email notification to the register email ?
  • Fri, Oct 1, 2021, 9:46 AM
    Alright all, I merged some PRs and added an extra check to block the user confirmation by the user itself. Users can still get the re-confirmation email, but they won be able to act on it. Let me know if anything looks amiss.
  • Sat, Oct 2, 2021, 1:18 AM
    Ilove this plugin! I just have a question about unenrollments.
    Is it possible to un-enroll a student after they have been confirmed and added to the course? I don't see an option for that, or even the option to auto-unenroll after a period of inactivity.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Please login to post comments