Remove Login Message

Remove Login Message

by Ali Hastie -
Number of replies: 1

How do I remove or prevent the message below being displayed on the login page?

Do you usually log in somewhere else before arriving here?
Choose from the following list to log in at your usual place:

Cheers

Ali

 

Average of ratings: -
In reply to Ali Hastie

Re: Remove Login Message

by Ali Hastie -

its ok, I have found it:

moodle/login/index_form.html

remove lines 97 -106

<?php if (!empty($potentialidps)) { ?>
    <div class="subcontent potentialidps">
        <h6><?php print_string('potentialidps', 'auth'); ?></h6>
        <div class="potentialidplist">
<?php foreach ($potentialidps as $idp) {
    echo  '<div class="potentialidp"><a href="' . $idp['url']->out() . '" title="' . $idp['name'] . '">' . $OUTPUT->render($idp['icon'], $idp['name']) . '&nbsp;' . $idp['name'] . '</a></div>';
} ?>
        </div>
    </div>
<?php } ?>