hrimhari / moodle-auth_loginlogoutredir

Login/Logout Static Redirection
GNU General Public License v3.0
8 stars 12 forks source link

moodle-auth_loginlogoutredir

Allows you to redirect a user both on login and logout in moodle.

Usage

Set the following options in your Moodle Configuration (config.php):

$CFG->loginredir = "{$CFG->wwwroot}/plus/some/different/path";
$CFG->logoutredir = "Any URL you want";

Create the folder auth/loginlogoutredir below your moodle directory. Either checkout this repository or copy the files from the released files.

Afterwards the redirect on login and logout will happen.