Email Based Self Registration - Email Confirmation

Email Based Self Registration - Email Confirmation

by Jonathan Price -
Number of replies: 3

We have enabled the email-self registration plugin in our moodle for students to setup their own accounts.

When they receive the email asking them to confirm their email address there is a problem with the link on the email - it is replacing the third character of their username with a equals sign. When the link is clicked the get the error "invalid confirmation data"

For example: http://moodle.example.com/login/confirm.php?data=FV8K2A9GRvGUT8f/joe=loggs

Does anyone know why this is or how to fix it?

Average of ratings: -
In reply to Jonathan Price

Re: Email Based Self Registration - Email Confirmation

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Is the third character in their username ANY third character - does it apply to all usernames? Or are these full stops(periods)?

In reply to Mary Cooch

Re: Email Based Self Registration - Email Confirmation

by Jonathan Price -

Yes it applies to all usernames, even those without full stops  

In reply to Jonathan Price

Re: Email Based Self Registration - Email Confirmation

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Hi,

If this is on Microsoft Windows Server try changing the setting mailnewline (Site administration → Plugins → Message outputs → Email → Newline characters in mail) from LF to CRLF.

Leon