change username after registration submit – hook?
-
Hello,
I have a registration form where the user enters the name, surname and e-mail (but no username). UM generates the username by putting together the name and surname in lowercase. Is there a hook to change this behavior so that I can change the username to anything I want (e.g. a random number or random combination of letters) once the registration form is submitted? If this is the case, how can I get the username field from the form?
Thanks in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘change username after registration submit – hook?’ is closed to new replies.