Disabling enrolment key hint

Disabling enrolment key hint

autor Gautam Saha -
Počet odpovedí: 1
Is there a way to not show the enrolment key hint when a user enters the wrong enrolment key?

I have looked and cannot find the file to edit to achieve this.

thanks much.
Priemer hodnotení : -
V odpovedi na Gautam Saha

Re: Disabling enrolment key hint

autor Timothy Takemoto -

I think that you should be able to disable it in the language file, moodle.php, by changing the lines

$string['enrolmentkeyhint'] = 'That enrolment key was incorrect, please try again<br />
(Here\'s a hint - it starts with \'$a\')';

to

$string['enrolmentkeyhint'] = 'That enrolment key was incorrect, please try again<br />';