<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Remember Username</title>
        <description> This module will store the Phorum username that was last used in a cookie.
When entering the login screen, the username will be automatically filled in, based on this cookie.


Changelog:
----------

2007-08-05 v1.1.0

    - Rewrite for Phorum 5.2.

2005-01-23 v1.0.0

    - Initial release
</description>
        <link>https://www.phorum.org/support/read.php?62,123480,123480#msg-123480</link>
        <lastBuildDate>Thu, 10 Sep 2026 05:34:32 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,154315#msg-154315</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,154315#msg-154315</link>
            <description><![CDATA[ There is a security issue in the current version of the module.<br />
(I purposely omit the details to not encourage its exploitation.)<br />
If a cookie for this module is somehow set outside with some scripting in it, it allows session hijacking and the like.<br />
<br />
To prevent this behavior something like this would do.<br />
<br />
$username = trim($_COOKIE[&#039;phorum_mod_remember_username&#039;]);<br />
$focus_field = &#039;password&#039;;<br />
// If the cookie is forged. (It contains something other than a username.)<br />
if(filter_var($username, FILTER_SANITIZE_STRING) != $username)<br />
{<br />
	// Delete the forged cookie.<br />
	setcookie(&#039;phorum_mod_remember_username&#039;, &#039;&#039;, time() - 3600, $PHORUM[&#039;session_path&#039;], $PHORUM[&#039;session_domain&#039;]);<br />
	// Set an empty username.<br />
	$username = &#039;&#039;;<br />
	// Focus on username field.<br />
	$focus_field = &#039;username&#039;;<br />
}<br />
<br />
// Replace the username with the remembered username.<br />
$PHORUM[&#039;DATA&#039;][&#039;LOGIN&#039;][&#039;username&#039;] = $username;<br />
<br />
// Make the focus shift to the appropriate field.<br />
$PHORUM[&#039;DATA&#039;][&#039;FOCUS_TO_ID&#039;] = $focus_field;]]></description>
            <dc:creator>yupri</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 17 Sep 2013 01:03:49 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,147695#msg-147695</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,147695#msg-147695</link>
            <description><![CDATA[ Or use the browser functions to remember what you input into a form.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 31 Jan 2011 00:30:41 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,147693#msg-147693</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,147693#msg-147693</link>
            <description><![CDATA[ ty]]></description>
            <dc:creator>larry simpson</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 30 Jan 2011 23:42:20 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,147692#msg-147692</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,147692#msg-147692</link>
            <description><![CDATA[ By default, Phorum remembers the logon session. There should be no need for a &quot;Remember me&quot; option for the password. Like on the phorum.org website, you should see that you are still logged in after returning to the site.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 30 Jan 2011 23:33:49 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,147689#msg-147689</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,147689#msg-147689</link>
            <description><![CDATA[ hope this is right place to post this. Mine works fine but i need it to remember password too. can this be done?]]></description>
            <dc:creator>larry simpson</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 30 Jan 2011 21:02:00 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,130368#msg-130368</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,130368#msg-130368</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
I think that this accidentally was the 5.1 compatible 1.0.0 package.<br />
Please try if 1.1.0 fixes things for you.</div></blockquote>
<br />
Yes, it&#039;s working fine. Thanks.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 21 May 2008 03:34:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,130360#msg-130360</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,130360#msg-130360</link>
            <description><![CDATA[ I think that this accidentally was the 5.1 compatible 1.0.0 package.<br />
Please try if 1.1.0 fixes things for you.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 20 May 2008 09:52:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,130231#msg-130231</guid>
            <title>Re: Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,130231#msg-130231</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
I installed your module. When it is enabled and I go to the login page (after logging out) I get immediately the &quot;username/password was not found or is inactive&quot; error message. My username is filled in but there shouldn&#039;t be thrown an error message even when I just entering that page... <br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 16 May 2008 09:17:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,123480,123480#msg-123480</guid>
            <title>Module: Remember Username</title>
            <link>https://www.phorum.org/support/read.php?62,123480,123480#msg-123480</link>
            <description><![CDATA[ This module will store the Phorum username that was last used in a cookie.<br />
When entering the login screen, the username will be automatically filled in, based on this cookie.<br />
<br />
<pre class="bbcode">
Changelog:
----------

2007-08-05 v1.1.0

    - Rewrite for Phorum 5.2.

2005-01-23 v1.0.0

    - Initial release
</pre>]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 05 Aug 2007 06:48:45 -0500</pubDate>
        </item>
    </channel>
</rss>
