mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
Merge branch 'MDL-78849' of https://github.com/paulholden/moodle
This commit is contained in:
commit
42f5a6a022
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class login implements renderable, templatable {
|
|||
$languagedata = new \core\output\language_menu($PAGE);
|
||||
|
||||
$this->languagemenu = $languagedata->export_for_action_menu($OUTPUT);
|
||||
$this->canloginasguest = $CFG->guestloginbutton and !isguestuser();
|
||||
$this->canloginasguest = $CFG->guestloginbutton && !isguestuser();
|
||||
$this->canloginbyemail = !empty($CFG->authloginviaemail);
|
||||
$this->cansignup = $CFG->registerauth == 'email' || !empty($CFG->registerauth);
|
||||
if ($CFG->rememberusername == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue