Maintained by Picture of Felipe CarassoFelipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
1331 sites
95 fans
Moodle 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10

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


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

Comments RSS

Show comments
  • 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.
  • Picture of Vybes Makava
    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
  • Picture of Felipe Carasso
    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".

  • Giovanni Marangelli
    Wed, Sep 30, 2020, 1:45 AM
    Dear Felipe,
    I have carried out several tests on the anomalous behavior of the plugin on different moodle platforms for which I offer the system administrator service, one of which for an institutional body, obtaining the same results.
    "When the user tries to log in with his credentials, he can access the site without having to wait for the authorization of the platform administrator." This situation is not acceptable in some contexts.

    Hearty Greetings
  • domenico recchia
    Wed, Sep 30, 2020, 4:35 PM
    Hi Felipe and thanks for your great plugin. Unfortunately it also happens to me that, after the registration made by the users, I find myself with the same ones already confirmed even if I have not physically authorized any of them.

    Thank's in advance
  • Picture of Felipe Carasso
    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,
  • Picture of Felipe Carasso
    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.

  • Picture of Angelo Phillips
    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.
  • Picture of Olivier B.
    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
  • Picture of Angelo Phillips
    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.
  • Picture of Olivier B.
    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

  • Picture of Felipe Carasso
    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.
  • Picture of Zuey But
    Fri, Jan 29, 2021, 4:01 AM
    I can't open the tracker. Would you please update the version for moodle 3.10+?
  • Picture of Felipe Carasso
    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.
1 2 3 4 5 6 7 8 9 10 11 12 13
Please login to post comments