Enrolment key based self-registration

Authentication ::: auth_enrolkey
Maintained by Catalyst IT, Nicholas Hoobin, Brendan Heywood
This auth plugin combines the best of both email based signup and self enrolment keys into a streamlined process making it much faster for students to get into a course. For the student it saves around 9-10 clicks and avoids context switching between a browser and their email client where they can become easily become disengaged or run into issues if their email is unavailable.
Latest release:
544 sites
60 fans
Current versions available: 1

Moodle Enrolment key based self-registration

This is a functional clone of the Email-based self-registration plugin that also enrols a user into available courses based on a token supplied. When a user enters a valid token it will automatically enrol them into the course that token was specified for.

Courses that provide self enrolment can restrict access to them with a key. If the signup token matches any course enrolment key then the new user will be enrolled into those courses.

Courses that provide self enrolment can restrict access to them with a key. If the signup key matches any course enrolment key then the new user will be enrolled into those courses.

The streamlined process flow:

(Signup page -> Course)

The normal self registration process flow:

(Signup page -> Confirmation page -> Open email client and click link -> Navigate to course -> Click on enrol -> Enter enrolment key -> Course)


Screenshot #0


Catalyst IT (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Fri, Jul 8, 2016, 9:23 PM
    Me again. Looks like I figured it out. When I disabled the reCAPTCHA option, it worked so there seems to be a problem there. So for now, I won't use reCAPTCHA, Let me know if you think I should add this as an issue to Git Hub. Again, though, thanks much for developing this really cool plugin.
  • Sat, Jul 9, 2016, 11:56 AM
    Just saw a reCAPTCHA issue already reported on Git Hub.
  • Mon, Jul 11, 2016, 8:56 AM
    Thanks David, sorry for the bug and the Captcha issues. Best to follow that issue on github
  • Mon, Jul 11, 2016, 9:44 AM
    Not a problem. I'm quite pleased with the way the plugin works as is. The use of Captcha is really not a big issue since an enrollment key is required to open an account. For my purposes, that basically acts in the same manner. I'll monitor it on Git Hub. Again, let me extend my appreciation for developing this plugin.
  • Fri, Aug 26, 2016, 9:59 AM
    after creating the user with the course code to enroll. notifies me the following error: "exception - Class 'course_enrolment_manager' not found"
    my moodle version 3.1.1.
    how can I solve that?
  • Fri, Aug 26, 2016, 10:04 AM
    Continuing the above problem.

    the user is registered and can log in, but does not validate the code enroll in the course and so I reapplies the key.
  • Thu, Sep 1, 2016, 10:29 AM
    hi raitme, I have logged that issue here:


    Please follow that issue for updates, we may get to this in the next week or two
  • Fri, Nov 11, 2016, 12:26 AM
    Hi guys,

    can anyone tell me how I can change the message of the plugin in the Login-page?

  • Mon, Nov 14, 2016, 7:57 AM
    hi Deniz,

    That string, or in fact any string in moodle, can be edited. See this for more info:

  • Tue, Dec 6, 2016, 11:39 PM
    HI Brendan,

    Great pluggin!
    Tested it for 3.2 but after visiting: /login/signup.php? i get the error
    Can not render widget, renderer method (render_enrolkey_signup_form) not found.
    I know it is not supported yet for 3.2, any idea on when it will be?

    Regards Rob
  • Wed, Dec 7, 2016, 8:04 AM
    hi Rob,

    I've logged that as an issue here where you can follow it's progress:


    I can't guarantee when we will add support for 3.2, unless one of our clients needs it. If you'd like to sponsor this work please contact us: enquiries@catalyst-au.net
  • Wed, Dec 7, 2016, 4:25 PM
    Txs! I have a programmer looking into it today. When he finds a solution, I will get back to you with the code and discuss if it is useful to adopt.
  • Thu, Dec 8, 2016, 6:21 AM
    Thanks Rob - pull requests are always welcome smile
  • Tue, Jan 17, 2017, 5:13 AM
    Hi Rob, Do you have the code for 3.2 ? Brendan, this is an awesome plugin - which I want the most, please make for 3.2.1 , then i will upgrade my site
  • Sat, Feb 4, 2017, 1:50 AM
    +1 Request for an update for 3.2 please
Please login to post comments