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


  • Wed, Jul 24, 2019, 1:37 PM
    New version available with the Captcha fix.
  • Sat, Oct 5, 2019, 12:23 AM
    I have install this plugin. But I want edit to message of confirmation email. Please suggest How I can edit to this message step by step.

    "Welcome to (My Organization)! Your account has been approved. If you have not already done so, please tell us how you discovered (My Organization)............."
  • Mon, Oct 7, 2019, 2:02 AM
    Hi Mahedra, the answer to your question is in the INSTALL file and in previous messages. I'll soon add the information to the notification messages themselves to try to improve the chances of avoiding this recurring question in the future.

  • Thu, Nov 7, 2019, 5:23 PM
    Hi Felipe,

    if a user tries logging in after requesting an account but before the admin approves, then they get the default Moodle message about following the instructions in an email to confirm their account. A quick look at the code makes me think this is a pretty high level action that could only be resolved by customizing the language pack to change these strings. Do you agree with my conclusion or is there another way to get a different message here?

  • Fri, Nov 22, 2019, 1:29 AM
    Hi Felipe,

    There is a small issue with registration notification emails, the short names of users' custom profile fields are used instead of names. Is it something you could change?

  • Thu, Jan 16, 2020, 2:23 PM
    Hi Felipe
    I want to send some data from custom fields in the user confirmation email. I and using All custom fields: {$a->customfields} All user fields + custom fields: {$a->userdata} in email template for auth_emailadminuserconfirmation in Site Administration->Language customization. But it is being printed as it is without replacing actual values.
  • Tue, Apr 7, 2020, 4:19 AM
    i want to create users via Moodle, web service api, the code works, but user is created and activated!! without sending mail to moderators!
    Here the auth parameter that i send via api :
    $user1->auth = 'emailadmin';
    probably missed some parameters to fix that the user is not yet confirmed?
    i want that Moodle sens confirmation email and showing link in administration to confirm (exactly like the plugin did".
    Thanks in advance
  • Thu, Apr 9, 2020, 8:17 AM
    Hola best wishes from Paraguay in COVID19 time.....
    One of my domain was expired. I did not renew it in time. It was on sale already. Yesterday i decided to pay again for it. On it I have a Moodle powered site, with an old version of Moodle 2.6! I waited for 24 hours, and this morning I tried to launch the site. It did not open up at all. I got the error "Authentication plugin emailadmin not found".
    Now, I assume, that this message refers to the GREAT Felipe plugin, I am using in another site without any problem, with Moodle 3.7 plus. What can I do considering i cannot access Moodle at all? is there anything one can do by accessing files on the webserver? I have asked the webserver support team but they did not help. They simply said that ther domain seems to work correctly and that not having access to the backend of the plugin they cannot do anything. Please suggest what i can do? Thanks a lot.
  • Sun, Apr 12, 2020, 1:08 AM
    To be more precise: I got the error "incorrect access detected, the server may be accessed only through address, sorry. Please notify server administration". This message turns to this other error after being displayed for a few seconds on the screen: "Authentication plugin emailadmin not found". Any suggestions on how to solve this issue? Is it related to this plugin at all? Best wishes from Paraguay
  • Sun, Apr 12, 2020, 5:33 AM
    Hey Giorgio, I went to your site and saw the error. Out of the blue, I though about trying to go to /admin to see if it would report any install/migration stuff. It actually reported a 'cache inconsistency' and proposed to 'clear'. I clicked it, and now your site seems to be working 🤷
    Best regards,
  • Thu, Jun 4, 2020, 8:27 AM
    Hola Felipe, i am very sorry...i did not come back to check...i thought i would receive an email in case there would be a message.......I saw just now your message....i am trying to understand how to make the upgrade of my Moodle installation, to Move to Moodle 3.8.....I tried now to enter the i got this error message: authentication plugin emailadmin not found......and i cannot enter my site......please try to help....un abrazo desde Paraguay. Giorgio
  • Thu, Jun 4, 2020, 8:35 AM
    Hola Felipe......uuffff me di cuenta ahora que te cansaste de actualizar tu magnifico veo la version para moodle 3.8!!! Que pasará si instalo Moodle 3.8? debo desinstalar tu plugin?? Un abrazo Giorgio....sorry me se fue in Spanish...
  • Mon, Jun 8, 2020, 1:08 AM
    Hola Felipe.....i did not immediately understood your suggestion to make my site work.......during the night i got it...i had to add the \admin to the normal URL and BOOM, I am in.....Thanks a lot.......

    Yesterday I have Upgraded to Moodle 3.8.3......will your plugin work? I would love to continue using it!!! Best wishes from Asuncion Paraguay ...
  • Mon, Jun 8, 2020, 1:34 AM
    Hey Giorgio,

    I have no reason to think that it won't work. Let me know if it doesn't 😉

  • Mon, Jun 8, 2020, 5:56 AM
    Hola Felipe: YES it works perfectly. I just upgraded the site of my wife (critical action indeed!) and i tried 10 minutes ago to create a new account ....and yes the email came as usual....and the confirmation worked perfectly......thanks a lot for the gift. Very useful indeed.....why it is not becoming a Moodle standard plugin? un abrazo desde Paraguay Giorgio
Please login to post comments