AutoEnrol after mail confirmation

AutoEnrol after mail confirmation

by Alberto Villani -
Number of replies: 0

Hello, 

I installed the AutoEnrol plugin so that all students with a particular email domain are automatically enrolled to a course.

I configured the plugin to run on the login event.

It works fine with normal login.

But when users click on the confirmation email link, after the registration, they are automatically logged into the system without the AutoEnrol plugin being fired. After this first (auto) login, users cannot access any course.

If they logout and the login again, AutoErol plugin is fired and they are granted access to the right course.

Does anybody know if there's a way to make AutoEnrol plugin run after the confirmation email click?

Moodle 3.4

AutoEnrol  2.0


Thank you

Alberto


Average of ratings: -