mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Changes related to deleting auto login keys on password change
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5442 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -527,6 +527,13 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
|
||||
}
|
||||
|
||||
// We remove all stored login keys since the password has been updated
|
||||
// and change the current one (if applicable)
|
||||
if ( !empty($passwd_sql) )
|
||||
{
|
||||
session_reset_keys($user_id, $user_ip);
|
||||
}
|
||||
|
||||
if ( !$user_active )
|
||||
{
|
||||
//
|
||||
|
Reference in New Issue
Block a user