Skip to content

Commit b5a9923

Browse files
committed
update version to 3.1.11 and fix problem with password activation
1 parent 9fbf881 commit b5a9923

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

adm_program/system/constants.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
define('ADMIDIO_VERSION_MAIN', 3);
2020
define('ADMIDIO_VERSION_MINOR', 1);
21-
define('ADMIDIO_VERSION_PATCH', 10);
21+
define('ADMIDIO_VERSION_PATCH', 11);
2222
define('ADMIDIO_VERSION_BETA', 0);
2323
define('ADMIDIO_VERSION', ADMIDIO_VERSION_MAIN . '.' . ADMIDIO_VERSION_MINOR . '.' . ADMIDIO_VERSION_PATCH);
2424

adm_program/system/password_activation.php

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
if($user->getValue('usr_activation_code') === $getActivationId)
3131
{
3232
// activate the new password
33+
$user->saveChangesWithoutRights();
3334
$user->setPassword($user->getValue('usr_new_password'), false, false);
3435
$user->setPassword('', true, false);
3536
$user->setValue('usr_activation_code', '');

0 commit comments

Comments
 (0)