Skip to content

Commit

Permalink
fix: fingerprint auto accepted still asks for admin confirmation (#32202
Browse files Browse the repository at this point in the history
)
  • Loading branch information
debdutdeb authored Apr 13, 2024
1 parent 2c85280 commit edc858e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-yaks-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixed an issue where Rocket.Chat would ask admins to confirm fingerprint change (new workspace vs configuration update), even when `AUTO_ACCEPT_FINGERPRINT` environment variable set to `"true"`.
1 change: 1 addition & 0 deletions apps/meteor/server/settings/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const verifyFingerPrint = async function () {
if (process.env.AUTO_ACCEPT_FINGERPRINT === 'true') {
logger.info('Updating fingerprint as AUTO_ACCEPT_FINGERPRINT is true', fingerprint);
await updateFingerprint(fingerprint, true);
return;
}

logger.warn('Updating fingerprint as pending for admin verification', fingerprint);
Expand Down

0 comments on commit edc858e

Please sign in to comment.