How to remove

Re: How to remove

by mety soriano -
Number of replies: 1
Thank you sir, I am using Boost theme. Yes I understand cookies is important, but I am trying if this possible to remove.
In reply to mety soriano

Re: How to remove

by Rajnish Rao -
Again it is not a good way to make any changes in core considering Moodle upgrade in future. However, I will explain how you can make the changes.

It is coming from loginform.mustache file located in moodle>lib>templates>loginform.mustache. Older versions of Moodle carrying this file in Boost theme as well. However for your Moodle version you can follow following steps to make this change:

  1. Go to moodle>lib>templates and copy loginform.mustahce
  2. Go to moodle>theme>boost>templates and create a folder named "core" and place the copied file here
  3. find "cookiesenabled" you will see follwoing code, this is responsible for that.
<div class="mt-3">
{{#str}} cookiesenabled {{/str}}
{{{cookieshelpiconformatted}}}
</div>

Hope this help.