Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

disabled cookie check when alternate login url used

  • Loading branch information...
commit e13b1d135f6cc24cf11595f0555322ce9e9a3277 1 parent d994661
skodak authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  login/index.php
2  login/index.php
@@ -85,7 +85,7 @@
85 85
86 86 /// Check if the user has actually submitted login data to us
87 87
88   - if ($frm and (get_moodle_cookie() == '') and ($frm->username!='guest') and !$user) { // Login without cookie
  88 + if ($frm and (get_moodle_cookie() == '') and ($frm->username!='guest') and !$user and empty($CFG->alternateloginurl)) { // Login without cookie
89 89
90 90 $errormsg = get_string("cookiesnotenabled");
91 91

0 comments on commit e13b1d1

Please sign in to comment.
Something went wrong with that request. Please try again.