mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Pb with autologinguest
This commit is contained in:
parent
6619eba40b
commit
c39e721374
@ -97,11 +97,7 @@ class auth_plugin_cas extends auth_plugin_base {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($_GET["loginguest"]== true) {
|
||||
$frm->username="guest";
|
||||
$frm->password="guest";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Test si cas activ<69> et param<61>tres non remplis
|
||||
if (empty($this->config->hostname)) {
|
||||
@ -119,7 +115,13 @@ class auth_plugin_cas extends auth_plugin_base {
|
||||
$frm->password="passwdCas";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if ($_GET["loginguest"]== true) {
|
||||
$frm->username="guest";
|
||||
$frm->password="guest";
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->config->multiauth) {
|
||||
$authCAS = optional_param("authCAS");
|
||||
if ($authCAS=="NOCAS")
|
||||
|
Loading…
x
Reference in New Issue
Block a user