hrimhari / moodle-auth_emailadmin

Moodle plugin to provide email self-registration with admin confirmation
GNU General Public License v3.0
14 stars 20 forks source link

fix(ISSUE-45): blocks login of unconfirmed users from resend confirmation etc #46

Closed deds closed 3 years ago

hrimhari commented 3 years ago

Thank you for the contribution. It's now merged and released.

The user could still get the re-confirmation email through the Forget Password flow, so I added an extra check in the plug-in's user_confirm() to block any attempt from unauthorized users.