Loading patches/013-revert-token-password-update.patch +4 −5 Original line number Diff line number Diff line Loading @@ -5,9 +5,9 @@ Subject: [PATCH] Reverts token password update on each login NC 21 started updating password of each and every token on each login. This introduces a huge load on database. This patch reverts to only update when there are expired tokens. --- ./lib/private/Authentication/Token/PublicKeyTokenProvider.php 2024-07-25 17:51:37 +0530 +++ ./lib/private/Authentication/Token/PublicKeyTokenProvider-new.php 2024-07-25 17:53:16 +0530 @@ -504,6 +504,11 @@ --- ./lib/private/Authentication/Token/PublicKeyTokenProvider.php 2026-03-23 17:46:39.518001611 +0600 +++ ./lib/private/Authentication/Token/PublicKeyTokenProvider-new.php 2026-03-24 00:00:01.266417815 +0600 @@ -519,6 +519,11 @@ } public function updatePasswords(string $uid, string $password) { Loading @@ -19,4 +19,3 @@ This patch reverts to only update when there are expired tokens. // prevent setting an empty pw as result of pw-less-login if ($password === '' || !$this->config->getSystemValueBool('auth.storeCryptedPassword', true)) { return; Loading
patches/013-revert-token-password-update.patch +4 −5 Original line number Diff line number Diff line Loading @@ -5,9 +5,9 @@ Subject: [PATCH] Reverts token password update on each login NC 21 started updating password of each and every token on each login. This introduces a huge load on database. This patch reverts to only update when there are expired tokens. --- ./lib/private/Authentication/Token/PublicKeyTokenProvider.php 2024-07-25 17:51:37 +0530 +++ ./lib/private/Authentication/Token/PublicKeyTokenProvider-new.php 2024-07-25 17:53:16 +0530 @@ -504,6 +504,11 @@ --- ./lib/private/Authentication/Token/PublicKeyTokenProvider.php 2026-03-23 17:46:39.518001611 +0600 +++ ./lib/private/Authentication/Token/PublicKeyTokenProvider-new.php 2026-03-24 00:00:01.266417815 +0600 @@ -519,6 +519,11 @@ } public function updatePasswords(string $uid, string $password) { Loading @@ -19,4 +19,3 @@ This patch reverts to only update when there are expired tokens. // prevent setting an empty pw as result of pw-less-login if ($password === '' || !$this->config->getSystemValueBool('auth.storeCryptedPassword', true)) { return;