× How To / General

New users not being validated after clicking link

1 year 2 months ago 1 year 2 months ago by Pete Stevens. Reason: Added screenshots and additional query about spaces in usernames.
Pete Stevens
Posts: 7
More
Topic Author
New users not being validated after clicking link #1
Hi
I upgraded to 2.3.0 yesterday (sites: Moodle 4.1.2 and Joomla 3.10.12). When users regsiter for a new account on Moodle then click the email validation link, it displays the message "Your registration has been confirmed" but if they try to log in it gives an error. I checked the new accounts and the 'Suspended' box is still ticked so it looks as though the validation is not working?
I also checked in Joomla; I can see the new users but they are not enabled.
Incidentally, if I register on the Joomla platform then the user only appears on Joomla (in the user check only Joomla is ticked, not Moodle or Joomdle).
System check says that everything is OK.
Everything was working OK until we updated. Can you help?
Thanks
I can send you admin details privately if you would like to look.
Moodle: sustainabilitymakers.eu k
Joomla: stairwaytosdg.eu k

Also, I noticed that a couple of the new registrations have a space in their username. I thought that Moodle blocks spaces in usernames? We have 'Joomdle user check' installed on Joomla so that still prevents spaces, but has something changed in Joomdle that allows spaces in Moodle usernames?
Attachments:

Please Log in or Create an account to join the conversation.

1 year 2 months ago
Antonio Durán
Posts: 7815
More
New users not being validated after clicking link #2
Hi.

Thanks for the bug report...I don't know how I tested this, but clearly not well enough :(

I could replicate the problem with the Moodle registration + activation.

I prepared a new package for you to test. You can download at:
www.joomdle.com/aux/joomdle_v2.3.1-UNZIP-FIRST.zip k

Please update and let me know how it goes.

> Incidentally, if I register on the Joomla platform then the user only appears on Joomla (in the user check only Joomla is ticked, not Moodle or Joomdle).

This I could not replicate, and it is not connected to the other issue, so it might be related to some specific setting.

Please Log in or Create an account to join the conversation.

1 year 2 months ago
Pete Stevens
Posts: 7
More
Topic Author
New users not being validated after clicking link #3
Hi
Yes, the new plugins worked! Thanks for the quick resolution.

Could I just check on the query about username format required. We added your 'Joomdle user check' plugin to Joomla so that it prevents usernames with spaces or capital letters. But I noticed that people could still register with spaces in their username on Moodle. Then I noticed on the Moodle registration page the text, "The password must have at least 8 characters, at least 1 digit(s), at least 1 lower case letter(s), at least 1 upper case letter(s), at least 1 special character(s) such as as *, -, or #". So Moodle is actually requiring a capital letter, and it will allow usernames with spaces. And if people register on the Joomla site (and the account is synched to Moodle with Joomdle) then the username format would be wrong (it will not have a capital letter in it).
So, should we just remove the 'Joomdle user check' plugin because I don't think it is needed any longer?

Thanks again,
Pete

Please Log in or Create an account to join the conversation.

1 year 2 months ago
Antonio Durán
Posts: 7815
More
New users not being validated after clicking link #4
Thanks for the feedback.

> But I noticed that people could still register with spaces in their username on Moodle.

Only if you enable "Allow extended characters in usernames" in Moodle configuration.
Joomdle user check plugin also has a config option to match Moodle.

> Then I noticed on the Moodle registration page the text, "The password must have at least 8 characters, at least 1 digit(s), at least 1 lower case letter(s), at least 1 upper case letter(s), at least 1 special character(s) such as as *, -, or #".

That has nothing to do with username, it is the password format.

> the username format would be wrong (it will not have a capital letter in it).

You are mixing username and password format. Moodle does not allow caps in usernames, even if you activate the option above.

Please Log in or Create an account to join the conversation.

1 year 2 months ago
Pete Stevens
Posts: 7
More
Topic Author
New users not being validated after clicking link #5
Aha, that explains it. Yes, we have "Allow extended characters in usernames" ticked because we have Greek and Romanian partners in this project. So I suppose I will remove the 'Joomdle user check' plugin from Joomla because it's not needed.

Yes, sorry for the confusion over usernames and passwords - I was very tired last week! :-)

Thanks again for the quick response.

Pete

Please Log in or Create an account to join the conversation.