Skip to content

Private mode - #3138

Merged
isstuev merged 2 commits into
mainfrom
fe-3112
Jan 5, 2026
Merged

Private mode#3138
isstuev merged 2 commits into
mainfrom
fe-3112

Conversation

@isstuev

@isstuev isstuev commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

Description and Related Issue(s)

resolves #3112

Proposed Changes

adds private mode that can be enabled by passing a certain header to frontend requests. can be easily used later for implementing a user-toggled private mode setting.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

Comment thread configs/app/features/account.ts Outdated
Comment thread nextjs/csp/index.ts Outdated
Comment thread ui/shared/reCaptcha/ReCaptcha.tsx Outdated
}, [ ]);

if (!chainConfig.services.reCaptchaV2.siteKey) {
if (!chainConfig.services.reCaptchaV2.siteKey || config.app.appProfile === 'private') {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we just don't render ReCaptcha and not disable it completely for entire app?
There will be no way to bypass rate limits in private mode?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There will be no way to bypass rate limits in private mode, but it should not affect real users.

Comment thread ui/shared/reCaptcha/useReCaptcha.tsx
@isstuev
isstuev merged commit 1884868 into main Jan 5, 2026
16 checks passed
@isstuev
isstuev deleted the fe-3112 branch January 5, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable tracking for .onion domain

2 participants