init
This commit is contained in:
parent
77b241c69f
commit
e6431005bd
@ -27,6 +27,7 @@ class user extends common
|
|||||||
'logout' => self::GROUP_MEMBER,
|
'logout' => self::GROUP_MEMBER,
|
||||||
'forgot' => self::GROUP_VISITOR,
|
'forgot' => self::GROUP_VISITOR,
|
||||||
'login' => self::GROUP_VISITOR,
|
'login' => self::GROUP_VISITOR,
|
||||||
|
'autologin' => self::GROUP_VISITOR,
|
||||||
'reset' => self::GROUP_VISITOR,
|
'reset' => self::GROUP_VISITOR,
|
||||||
'profil' => self::GROUP_ADMIN,
|
'profil' => self::GROUP_ADMIN,
|
||||||
'profilEdit' => self::GROUP_ADMIN,
|
'profilEdit' => self::GROUP_ADMIN,
|
||||||
@ -1403,6 +1404,20 @@ class user extends common
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pré connexion avec Moodle
|
||||||
|
* Permet de se connecter sans passer par la fenêtre de connexion depuis Moodle
|
||||||
|
* Paramètres GET :
|
||||||
|
* email : doit correspondre à celui enregistré sur le compte
|
||||||
|
* course : id du cours à afficher
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function autologin()
|
||||||
|
{
|
||||||
|
var_dump($_GET);
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Déconnexion
|
* Déconnexion
|
||||||
|
Loading…
Reference in New Issue
Block a user