From 9208caec8e1dc79ec559e4743e5bedc8cdc8b428 Mon Sep 17 00:00:00 2001 From: Sarthakkad05 Date: Sat, 20 Sep 2025 10:29:59 +0530 Subject: [PATCH 1/2] Fix: Make TOTP field detectable by KeePassXC --- .env | 6 ++++++ apps/meteor/client/views/account/security/TwoFactorTOTP.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000000000..053c81cd53438 --- /dev/null +++ b/.env @@ -0,0 +1,6 @@ +# MongoDB connection +MONGO_URL=mongodb://localhost:27017/rocketchat +MONGO_OPLOG_URL=mongodb://localhost:27017/local + +# Optional: port for local dev +PORT=3000 diff --git a/apps/meteor/client/views/account/security/TwoFactorTOTP.tsx b/apps/meteor/client/views/account/security/TwoFactorTOTP.tsx index 1c7bac0937d0a..cac2628788262 100644 --- a/apps/meteor/client/views/account/security/TwoFactorTOTP.tsx +++ b/apps/meteor/client/views/account/security/TwoFactorTOTP.tsx @@ -158,7 +158,7 @@ const TwoFactorTOTP = (props: TwoFactorTOTPProps): ReactElement => { {t('Enter_code_provided_by_authentication_app')} - + From 4f9a0c8f9aed71ca690285ec1df2385c02d3a945 Mon Sep 17 00:00:00 2001 From: Sarthakkad05 Date: Sat, 20 Sep 2025 10:31:43 +0530 Subject: [PATCH 2/2] Fix: Make TOTP field detectable by a KeePassXC --- .env | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 053c81cd53438..0000000000000 --- a/.env +++ /dev/null @@ -1,6 +0,0 @@ -# MongoDB connection -MONGO_URL=mongodb://localhost:27017/rocketchat -MONGO_OPLOG_URL=mongodb://localhost:27017/local - -# Optional: port for local dev -PORT=3000