Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout ... #211

Open
kwtask opened this issue Sep 7, 2016 · 1 comment
Open

Logout ... #211

kwtask opened this issue Sep 7, 2016 · 1 comment

Comments

@kwtask
Copy link

kwtask commented Sep 7, 2016

First, GREAT PLUGIN!
When user clicks logout is there a way to log out of both Moodle and Google?
The moodle logout.php file (I think) hints at this. Would be nice if the plugin form had place for input of a logout URL with the service. Google as an example: https://accounts.google.com/Logout

Code:
logout.php file as this at the bottom.

$authsequence = get_enabled_auth_plugins(); // auths, in sequence
foreach($authsequence as $authname) {
$authplugin = get_auth_plugin($authname);
$authplugin->logoutpage_hook();

@mouneyrac
Copy link
Collaborator

thanks it is something that would be nice to be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Version 3.0
Improvements
Development

No branches or pull requests

2 participants