From 96b5658136ecf2b86cdb187dbc1eaa5d100a0d52 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 5 Jul 2005 17:16:21 +0000 Subject: [PATCH] disabled cookie check when alternate login url used; merged from MOODLE_15_STABLE --- login/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/index.php b/login/index.php index 70e8df287fd..ee1acdb1b02 100644 --- a/login/index.php +++ b/login/index.php @@ -85,7 +85,7 @@ /// Check if the user has actually submitted login data to us - if ($frm and (get_moodle_cookie() == '') and ($frm->username!='guest') and !$user) { // Login without cookie + if ($frm and (get_moodle_cookie() == '') and ($frm->username!='guest') and !$user and empty($CFG->alternateloginurl)) { // Login without cookie $errormsg = get_string("cookiesnotenabled");