Quote:
Today at 12:11 PM DBs said this in Post #40
Hi
Nice hack but I think I have found a problem.
If I set a forum password and the timeout to say 1 week, then go in and change the password to something else, it doesn't match the cookie and denies access - all is well.
If I then enter the new password it still says access is denied. Seems like the cookie is not being updated with the new password I entered.
|
Find:
PHP Code:
if ($_COOKIE[cookpass][$forumid]) {
Above this add:
PHP Code:
if ($_POST[forumpass]) {
$_COOKIE[cookpass][$forumid] = $_POST[forumpass];
}
Instructions updated.