<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: Login/Logout user redirection: Comments</title>
    <link>https://moodle.org</link>
    <description>Allows sysadmin to force redirection to certain pages upon login or logout.</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>(c) 2026 Moodle - Open-source learning platform | Moodle.org</copyright>
    <image>
      <url>https://moodle.org/theme/image.php/moodleorg/core/1776241734/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Friday, 18 July 2025, 7:21 AM - Ramon Nakamura</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-87830</link>
      <pubDate>Thu, 17 Jul 2025 23:21:01 GMT</pubDate>
      <description>by Ramon Nakamura. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Is it possible to use this plugin to redirect the user after login to specific pages according to their profile?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-87830</guid>
    </item>
    <item>
      <title>Tuesday, 18 February 2025, 2:20 AM - Michael Milette</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-86393</link>
      <pubDate>Mon, 17 Feb 2025 18:20:18 GMT</pubDate>
      <description>by Michael Milette. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Has anyone tried this plugin with Moodle 4.5 LTS yet?&lt;br&gt;
&lt;br&gt;
Best regards,&lt;br&gt;
&lt;br&gt;
Michael Milette&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-86393</guid>
    </item>
    <item>
      <title>Monday, 14 October 2024, 9:48 PM - Ivan Oliveira</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-85114</link>
      <pubDate>Mon, 14 Oct 2024 13:48:44 GMT</pubDate>
      <description>by Ivan Oliveira. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Should I see a setting link after enabling the plugin on the Manage authentication? &lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-85114</guid>
    </item>
    <item>
      <title>Monday, 29 April 2024, 3:19 AM - Ezzeddin Hamed</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-83374</link>
      <pubDate>Sun, 28 Apr 2024 19:19:59 GMT</pubDate>
      <description>by Ezzeddin Hamed. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello,&lt;br&gt;
&lt;br&gt;
I used this plugin latest update from github in Moodle 4.3 and PHP 8.1, it is working fine without any issues. &lt;br&gt;
&lt;br&gt;
To anyone who is interested in installing it, please be reminded that after the installation, the plugin will be disabled, but you can enable it at /admin/settings.php?section=manageauths&lt;br&gt;
&lt;br&gt;
I hope this is useful.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-83374</guid>
    </item>
    <item>
      <title>Tuesday, 19 March 2024, 9:11 PM - Michael Milette</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-82968</link>
      <pubDate>Tue, 19 Mar 2024 13:11:40 GMT</pubDate>
      <description>by Michael Milette. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Good day!&lt;br&gt;
&lt;br&gt;
I tested the logoutredir part of this plugin in Moodle up to version 4.1 running on PHP 7.4. So far and it works great for logging out of OAuth2. Note that there is a slightly newer version of the plugin on GitHub. I have not tried it with a newer version of Moodle or PHP yet. Has anyone else?&lt;br&gt;
&lt;br&gt;
Best regards,&lt;br&gt;
&lt;br&gt;
Michael&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-82968</guid>
    </item>
    <item>
      <title>Thursday, 22 March 2018, 6:05 PM - sulagna behera</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-49155</link>
      <pubDate>Thu, 22 Mar 2018 10:05:58 GMT</pubDate>
      <description>by sulagna behera. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello.&lt;br&gt;
I tried installing this plugin. I added the following code in the config.php&lt;br&gt;
$CFG-&amp;gt;loginredir = &quot;{$CFG-&amp;gt;wwwroot}/admin/purgecaches.php&quot;;&lt;br&gt;
$CFG-&amp;gt;logoutredir = &quot;{$CFG-&amp;gt;wwwroot}&quot;;&lt;br&gt;
&lt;br&gt;
It is showing &quot;abstract user login() method must be overridden&quot;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-49155</guid>
    </item>
    <item>
      <title>Tuesday, 17 January 2017, 1:42 PM - Felipe Carasso</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-40281</link>
      <pubDate>Tue, 17 Jan 2017 05:42:34 GMT</pubDate>
      <description>by Felipe Carasso. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Yes, watch out for &quot;smart quotes&quot;. If you use the wrong quotes, you'll get a parse error.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-40281</guid>
    </item>
    <item>
      <title>Tuesday, 17 January 2017, 11:28 AM - James Pearce</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-40280</link>
      <pubDate>Tue, 17 Jan 2017 03:28:04 GMT</pubDate>
      <description>by James Pearce. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Thanks Felipe,&lt;br&gt;
&lt;br&gt;
Anywhere I paste that code gives a &quot;Parse error&quot; when I load the page. Any further advice?&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-40280</guid>
    </item>
    <item>
      <title>Tuesday, 17 January 2017, 9:34 AM - Felipe Carasso</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-40279</link>
      <pubDate>Tue, 17 Jan 2017 01:34:53 GMT</pubDate>
      <description>by Felipe Carasso. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi James,&lt;br&gt;
&lt;br&gt;
Any place between the first line where a $CFG-&amp;gt; appears and the end of the PHP code (before the '&amp;gt;' in the end) should be fine.&lt;br&gt;
&lt;br&gt;
Best regards,&lt;br&gt;
Felipe&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-40279</guid>
    </item>
    <item>
      <title>Tuesday, 17 January 2017, 8:08 AM - James Pearce</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-40278</link>
      <pubDate>Tue, 17 Jan 2017 00:08:47 GMT</pubDate>
      <description>by James Pearce. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Excuse my ignorance, but where in the config.php file do I add these entries?&lt;br&gt;
&lt;br&gt;
$CFG-&amp;gt;loginredir = &quot;{$CFG-&amp;gt;wwwroot}/plus/some/different/path&quot;&lt;br&gt;
$CFG-&amp;gt;logoutredir = &quot;Any URL you want&quot;&lt;br&gt;
&lt;br&gt;
Thanks&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-40278</guid>
    </item>
    <item>
      <title>Monday, 19 December 2016, 11:33 PM - Felipe Carasso</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-39903</link>
      <pubDate>Mon, 19 Dec 2016 15:33:41 GMT</pubDate>
      <description>by Felipe Carasso. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Tore,&lt;br&gt;
&lt;br&gt;
Would you please open a new issue in github? I'll look into it as soon as possible.&lt;br&gt;
&lt;br&gt;
Thank you,&lt;br&gt;
Felipe&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-39903</guid>
    </item>
    <item>
      <title>Monday, 19 December 2016, 5:45 PM - Tore Tuastad</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-39901</link>
      <pubDate>Mon, 19 Dec 2016 09:45:11 GMT</pubDate>
      <description>by Tore Tuastad. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Hav a problem where i get Abstract user_login() method must be overridden. if I login with wrong username.&lt;br&gt;
Some research led me to this article:&lt;br&gt;
&lt;a href=&quot;https://moodle.org/mod/forum/discuss.php?d=314659&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://moodle.org/mod/forum/discuss.php?d=314659&lt;/a&gt;&lt;br&gt;
wher e it points to youre plugin, is this somthing you are aware of?&lt;br&gt;
Regards&lt;br&gt;
&lt;br&gt;
Tore&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-39901</guid>
    </item>
    <item>
      <title>Tuesday, 26 July 2016, 12:42 AM - Felipe Carasso</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-37156</link>
      <pubDate>Mon, 25 Jul 2016 16:42:39 GMT</pubDate>
      <description>by Felipe Carasso. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Nicolas,&lt;br&gt;
&lt;br&gt;
I can imagine how to do it, but it's unlikely that I'd do it myself. I'd look into the users table to check for a first login hint and use different url variables accordingly.&lt;br&gt;
&lt;br&gt;
Best regards,&lt;br&gt;
Felipe&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-37156</guid>
    </item>
    <item>
      <title>Monday, 25 July 2016, 2:52 PM - Nicolas Ndalpe</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-37149</link>
      <pubDate>Mon, 25 Jul 2016 06:52:00 GMT</pubDate>
      <description>by Nicolas Ndalpe. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Felipe,&lt;br&gt;
Thank you for your plugin. I was just wondering if it would be difficult to add a different link for first time login? &lt;br&gt;
&lt;br&gt;
ie: &lt;br&gt;
 - First time login = redirect to complete profile page&lt;br&gt;
 - Subsequent login = redirect to course list&lt;br&gt;
&lt;br&gt;
Hope to hear from you soon&lt;br&gt;
&lt;br&gt;
Thank you&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-37149</guid>
    </item>
    <item>
      <title>Wednesday, 18 May 2016, 10:59 PM - Tom Kleintjens</title>
      <link>https://moodle.org/plugins/auth_loginlogoutredir#comment-35902</link>
      <pubDate>Wed, 18 May 2016 14:59:55 GMT</pubDate>
      <description>by Tom Kleintjens. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Adding this to line 18 in auth.php and of course adding the variable $CFG-&amp;gt;loginguestredir to the config file fixed it for guest access.&lt;br&gt;
if ($username == &quot;guest&quot; &amp;amp;&amp;amp; $password == &quot;guest&quot;) {$urltogo = $CFG-&amp;gt;loginguestredir;}&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/auth_loginlogoutredir#comment-35902</guid>
    </item>
  </channel>
</rss>