1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00

Maintain cookie on admin password change

This commit is contained in:
e107steved
2008-12-29 11:00:16 +00:00
parent a794a90c4f
commit 4d7acbdcae
2 changed files with 19 additions and 16 deletions

View File

@@ -9,8 +9,8 @@
* User settings modify
*
* $Source: /cvs_backup/e107_0.8/usersettings.php,v $
* $Revision: 1.31 $
* $Date: 2008-12-29 09:31:36 $
* $Revision: 1.32 $
* $Date: 2008-12-29 11:00:16 $
* $Author: e107steved $
*
*/
@@ -384,7 +384,7 @@ if ($dataToSave && !$promptPassword)
}
else
{
if (isset($changedUserData['user_password']))
if (isset($changedUserData['user_password']) && !$adminEdit)
{
// echo "Make new cookie<br />";
$userMethods->makeUserCookie(array('user_id' => $udata['user_id'],'user_password' => $changedUserData['user_password']), FALSE); // Can't handle autologin ATM