Username and email required at password reminder
In our post at the chamilo forum http://www.chamilo.org/es/node/725 we said that there is no need to ask for both username and email at the password reminder, we think that just the email is needed and, as Yannick told us, we report it as a bug.
Our chamilo version is 22.214.171.124 on Debian lenny
Minor - Add comment about Google Translate API key for text2speech feature - refs #1956
Updated by Jose Manuel Abuin Mosquera over 10 years ago
I forgot to write that we solved this "bug" by commentig lines 48,55 and adding line $form->addRule('email', '<div class="required">'.get_lang('ThisFieldIsRequired'), 'required'); after line 55.
We also changed the query at line 69 just like this:
$query = " SELECT user_id AS uid, lastname AS lastName, firstname AS firstName,
username AS loginName, password, email, status AS status,
official_code, phone, picture_uri, creator_id
WHERE ( email = '".Database::escape_string($email)."') ";
This works fine for us.