Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Authentication
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
we have a need to manage the user signup process a bit more, but it would be nice if we didn't have to hack Core code to manage this - attached is a patch that adds local hooks to the validation of the user signup page, and also allows further processes to occur with newly signed up users - mainly to assign them to specific roles etc.
Isn't the right way to do this to write an authentication plugin (perhaps one which subclasses the standard email self-enrolment one.) If that is not possible, we should fix auth plugins, rather than adding more local hooks. Make sure these requirements get into Petr's Moodle 2.0 changes.