diff --git a/debian/changelog b/debian/changelog index 31108f60..173fad91 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.408.23) stable; urgency=low +hedera-web (1.408.24) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 4588a745..74a5618a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.408.23", + "version": "1.408.24", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/core/restore-password.php b/rest/core/restore-password.php index 3d8812a8..7dec59df 100644 --- a/rest/core/restore-password.php +++ b/rest/core/restore-password.php @@ -14,7 +14,6 @@ class RestorePassword extends Vn\Web\JsonRequest { $db->query('CALL account.myUser_restorePassword(#, #)', [$verificationToken, $newPassword]); - Account::sync($db, $_SESSION['user'], $newPassword); return TRUE; } } diff --git a/rest/core/set-password.php b/rest/core/set-password.php deleted file mode 100644 index 99de91bd..00000000 --- a/rest/core/set-password.php +++ /dev/null @@ -1,28 +0,0 @@ -getValue( - 'SELECT id FROM account.user WHERE `name` = #', - [$setUser] - ); - $db->query('CALL account.user_setPassword(#, #)', - [$userId, $setPassword]); - Account::sync($db, $setUser, $setPassword); - return TRUE; - } -} -