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:
1301 sites
411 downloads
124 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)


Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • Jorgi Amos
    Sat, 20 May 2017, 1:06 AM
    Hi Felipe
    I'm testing last version of the plugin on Moodle 3.3, I installed it carefully following your INSTALL tutorial.
    Here is the problems along the procedure:

    1) after I registered an account I get a page that says: "Tried to send you an email but failed! Click for more info" and the info page is this: https://docs.moodle.org/33/en/error/auth_emailadmin/auth_emailadminnoemail
    That's bad for the user

    2) anyway the email arrives to the admin user but before the right message "Hi Moodle Admin ..." it says: "No admin found based on notification strategy. Please check auth_emailadmin configuration".

    3) I tried, as user, to login though the admin doesn't enable me and I get message "You need to confirm your account - An email is sent to you email address ...". That's bad for the user that will not receive any confirm email.

    4) Admin user enables user by clicking on the email link, that works good and the welcome email is sent to user but it's not translated in my language (already tried to purge cache)

    Hope this helps and you can help me, Thanks
  • Aaron Johnson
    Wed, 24 May 2017, 8:09 PM
    Hi Felipe,
    I was wondering if it would be possible to add someone to the list of admins who has limited access to the entire site. I'd like to have an assistant who would just check that the requested person is allowed on the site, but who wouldn't change content or create courses. Is it possible to have this plug-in email other roles, or would it work to create a custom "admin" role? Do you know which capaibilty settings have to be allowed ofr the role/user to show up in the admin list?
    Thanks
  • Felipe Carasso
    Wed, 24 May 2017, 11:37 PM
    Hi Aaron,

    It's not possible right now. The idea of pointing to a role instead of choosing the users right onto the plugin config is interesting. I'll consider it.

    Best regards,
    Felipe
  • Jessica V
    Wed, 12 July 2017, 9:00 PM
    Hello,

    Apologies if I missed an answer on this already - in manual accounts, I have set the 'password duration'. How do I do that as well for accounts created with email-based self-registration with admin confirmation?

    Thanks for your time!

    Jessica
  • Felipe Carasso
    Wed, 12 July 2017, 10:18 PM
    Hi Jessica,

    Neither self-registration plugins support that feature. But you could achieve it by adding another plugin, like https://moodle.org/plugins/view.php?plugin=auth_pwdexp

    Best regards,
    Felipe
  • Paulius Adm
    Wed, 16 Aug 2017, 1:31 PM
    How to remove this plugin?
  • D Riddel
    Thu, 31 Aug 2017, 10:28 AM
    Hi Felipe, first of all, thank you so much! This is really useful.

    I need to create two different registration paths, one for teachers and one for students. The teachers' registration need to be confirmed by the admin. The students do not.

    I was thinking of creating two links to /login/signup.php on the login page. Something like /login/signup.php?teacher=No

    How can I trigger this plugin for teachers, but not for students?
  • Felipe Carasso
    Fri, 1 Sept 2017, 12:49 PM
    Hi Riddel,

    I don't think you can do that. Moodle only allows you to select one auth plugin for self-registration. It doesn't feel straightforward to trick it into allowing a different registration path.

    What you could do is to plug a script into a mail server that would receive the registration request and look for a profile field saying if it's a student or a teacher then execute appropriate actions.

    You'll want to make it assign specific roles depending on the user type, else students would have the same rights as teachers.

    Hope that helps.
    Felipe
  • Felipe Carasso
    Fri, 1 Sept 2017, 12:59 PM
    If an auth plugin was able to call another plugin directly, I can imagine a special auth plugin that serves as router and role assigner based on some criteria like your user type... I can see some use to that...
  • kamatchi kavitha
    Sun, 22 Oct 2017, 3:12 AM
    Hi All, I am facing one issue with this plugin. Everything works fine till the email notification. But the users are confirmed before the admin confirms the account. I have both email based self registration and email based self registration with admin confirmation enabled in my site.
    Thanks.
  • Felipe Carasso
    Mon, 23 Oct 2017, 8:26 AM
    Hi kamatchi ,

    Did you select this plug in for self-registration? Check the INSTALL file to see how.

    Let me know if that helps.

    Best regards,
    Felipe
  • kamatchi kavitha
    Mon, 23 Oct 2017, 4:31 PM
    Yes Felipe, I did exactly the same settings. Its working fine in my staging environment. I am facing this issue only in production. Users automatically confirmed and the confirmation mails are also sent. Just wondering how this is happening. Is there any other configuration i needs to check?
  • Tim Underhay
    Fri, 29 Dec 2017, 2:05 AM
    Mr Carasso, I'm wondering if there are plans to support Moodle 3.4? Thanks very much indeed for your work!
  • Felipe Carasso
    Tue, 9 Jan 2018, 3:09 AM
    Hello Tim, I certainly do plan to do it. But upgrading my moodle broke it horribly, so I'm waiting for an opportunity to solve that blocker before adding the compatibility info to the plug in.
  • Peter Chikubula
    Thu, 18 Jan 2018, 5:21 PM
    Hai team once i confirm a user to my moodle Email-based self-registration with admin confirmation, they receive a customised moodle message which i want to change to my own. please advise were i can change the message. my users recieve this message,

    Hello Peter Chikubula,

    Welcome to (My Organization)! Your account has been approved. If you have not already done so, please tell us how you discovered (My Organization).

    For student accounts, please let us know the project you would like to participate in and we will create your teacher account. The information for creating student accounts is at http://www.my.org/student-accounts here.

    The first name needs to be the students "first name" and "first initial of the last name." The students last name will be the school name. Passwords need to be at least 8 characters long.

    We're delighted you have joined us and hope to see you and your students participating in some of our projects. You are now a member of a rapidly growing community of educators and students using (My Organization) to share projects, work and knowledge. If you ever need help don't hesitate to write to us at myorg@gmail.com here. We'll try to address any questions, comments or concerns you may have regarding the (My Organization) with Google Resources, Services and Tools. Check out our web pages at http://www.my.org here
    * * *

    What is (My Organization)?

    (My Organization) is an easy-to-use, Internet-based collaborative environment that enables educators to develop and manage Web-based curricular projects, share information, and work together on an international level. (My Organization) provides a variety of Google tools and gadgets including integrated messaging, conferencing, and calendars, to support collaboration among teachers and students within (My Organization).

    (My Organization) welcomes your projects and is looking forward to sharing a rich variety of projects and activities with your participating students. When you login, list of popular categories appears. Click on one of the categories to browse the projects specified by it. As you browse through these projects (click on the titles), they may help you generate an idea or two for you to use in developing a project of your own in (My Organization) or they may help you to identify projects in which
    you may like to collaborate with other teachers and their students.

    * * *

    Because (My Organization) is project driven and run by volunteers, we would like you to consider creating a project in (My Organization) or volunteering to help with one. If you decide you would like to create a project or volunteer to help or support other projects, please email us at myorg@gmail.com here. (My Organization) leaders and volunteers are here to support your needs.

    Remember, online support for all (My Organization) participants is provided by (My Organization) volunteers. Please take what you learn from us and help other teachers learn too! We look forward to working with you and seeing your new projects!


    Thank you,

    My Name, Director


Please login to post comments