Permalink
Browse files

disabled cookie check when alternate login url used

  • Loading branch information...
1 parent d994661 commit e13b1d135f6cc24cf11595f0555322ce9e9a3277 skodak committed Jul 5, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 login/index.php
View
@@ -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");

0 comments on commit e13b1d1

Please sign in to comment.