Changing your password doesn't automatically log you out

Bug #182866 reported by Techokami
2
Affects Status Importance Assigned to Milestone
TextFileBB
Fix Released
Medium
Jcink

Bug Description

When you change your password, you are given a link to the Login page to log back in. However, you aren't logged out, and when you go to the Login page, you are given a "Username and password mismatch" error.

Changed in tfbb:
assignee: nobody → jcink2k
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
EmpJoe (jordanhansen) wrote :

Edit directory/profile.php find:
echo("Password changed. <a href='login.php'>Click here to login again with your new password.</a><br /><br />");

Replace with:
setcookie ("storedcookie_textfileBB_id", "", time( ) - 1);
setcookie ("storedcookie_textfileBB_pword", "", time( ) - 1);
echo "You are logged out. <a href=index.php>Forum Index</a>.";
echo("Password changed. you have been logged out please click: <a href='login.php'>HERE</a> to log back in<br /><br />");

Changed in tfbb:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.