-
Improvement
-
Resolution: Fixed
-
Minor
-
3.5
-
MOODLE_35_STABLE
-
MOODLE_36_STABLE
-
MDL-63442-master -
On the login page, there is a help icon after the "Cookies must be enabled in your browser" note.
This help icon says:
Two cookies are used by this site:
The essential one is the session cookie, usually called MoodleSession. You must allow this cookie into your browser to provide continuity and maintain your login from page to page. When you log out or close the browser this cookie is destroyed (in your browser and on the server).
The other cookie is purely for convenience, usually called something like MOODLEID. It just remembers your username within the browser. This means when you return to this site the username field on the login page will be already filled out for you. It is safe to refuse this cookie - you will just have to retype your username every time you log in.
Unfortunately, if $CFG->rememberusername is set to no, the second paragraph is obsolete and only creates confusion.
The logic behind the help icon's content should evaluate the $CFG->rememberusername setting and
1. add the second paragraph only if it is set to yes.
2. skip the second paragraph if it is set to no.
3. add a modified version of the second paragraph (which tells the user that this cookie is only set if he checks the "Remember username" checkbox) if it is set to optional.
- Testing discovered
-
MDL-63528 "Remember username" checkbox always being rendered regardless of the $CFG->rememberusername setting
-
- Closed
-