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:
1376 sites
104 fans
Current versions available: 5

WARNING: Moodle 3.6 introduced a "Resend Confirmation" feature that enables unconfirmed users to self-confirm. A bug is opened with Moodle to fix this regression:

You can manually apply the patch while Moodle is not fixed upstream. See

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.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


  • Tue, Jun 9, 2020, 5:23 AM
    Can anyone help to let me know why I get Call to undefined function profile_get_user_fields_with_data() in C:\xampp\htdocs\secure\auth\emailadmin\auth.php on line 399 when a new user creates an account? The account is create but no email is sent and this Fatal error appears when debugging.
  • Tue, Jun 9, 2020, 5:42 AM
    Hey Lee, I can try. Could you give the following info please:

    - Your Moodle version,
    - How you installed the Plug-in,
    - The plug-in's version.

  • Tue, Jun 9, 2020, 10:10 PM
    Hello. The version of moodle is 3.3 , and I added via moodle and the downloaded 1.4.3 zip file.
  • Tue, Jun 9, 2020, 10:44 PM
    Hey Lee, bad news. I just figured out that version 1.4.3 is not compatible with moodle 3.3. You'd have to upgrade moodle or use the older version of the plug-in...
  • Wed, Jul 15, 2020, 6:32 PM
    Do this plugin send emails to the students by which they can enroll them in the required courses
    plz let me know if it's perfectly working with the moodle 3.9 stable version
  • Thu, Jul 16, 2020, 4:02 AM
    Hey Shivansh, it first sends an email to the admin, notifying of the new account request. When the admin confirms the account, a confirmation email is sent to the new user.

    Courses are not involved in this sequence.

    Let me know if that answers your question.

  • Thu, Jul 16, 2020, 4:03 AM
    oh, and yes, it works with 3.9.a
  • Tue, Jul 21, 2020, 12:43 AM
    After Enabling ??? plugin, we can able to create "New Account". After that we provided some details & created new account. But we are facing problem in Email Confirmation.
    We are getting Error "Tried to send email, but failed". Could any one help us ?

    Problem Statement: eMail is not going even though SMTP config properly
    Environment : Moodle installed on local machine
    Version: Moodle 3.9
  • Sat, Aug 29, 2020, 4:00 AM
    Hello, there is no uninstall option on the plugins overview.
    Have you got a solution ?
  • Wed, Sep 9, 2020, 4:45 AM
    Hi there. Just installed this plugin on Moodle 3.7. This file doesn't exist: lang/en/auth_emailadmin.php
    Is it auth.php the installation instructions are referring to?

    Plugin Version1.4.5 (2030061000) on Moodle 3.7 (plugin directory installation)
  • Mon, Sep 28, 2020, 7:20 AM
    Hello! I installed the plugin but instead of mailing the admin email for activation the email goes to the user's email like the self registration plugin. Do you have any ideas? Thanks!
  • Mon, Sep 28, 2020, 10:30 AM
    Hi Angelo, it seems that the default Email Registration is still active. Be sure to disable it and make this one your plug-in for Registration. Take a second look at the INSTALL file.

  • Giovanni Marangelli
    Mon, Sep 28, 2020, 6:26 PM
    Dear Felipe, after registration, if the user tries to log in with his credentials, even if he has not yet been confirmed by the administrator, he will receive an email directly with a registration confirmation link and can log in without waiting for any self-authorization from part of the administrator.
  • Tue, Sep 29, 2020, 9:04 AM
    Hi Felipe,
    Is there a way of adding a pending requests filter Browse list of users (/admin/user.php)?
    ..or make the last column with "Confirm | Resend email", to be available for sorting
  • Tue, Sep 29, 2020, 11:31 AM
    Hi Giovanni, that sounds ike a serious bug. I hope someone else can confirm.

    Vybes, i believe thencolumn is "suspended".

Please login to post comments