reverse proxy authentication do not use user's language setting #3767

Closed
opened 2025-11-02 05:24:33 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @browcio on GitHub (Aug 13, 2019).

  • Gitea version (or commit ref): 1.9.0
  • Git version: 2.17.1
  • Operating system: ubuntu 18.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

We have Gitea configured to use reverse proxy authentication. One user would like to use English instead of his native language in Gitea's interface.

When user logs in using reverse proxy, Gitea sets interface language based on browser headers (I guess?), ignoring settings from user profile. If user then goes to user settings, desired language is chosen in language section but interface do not use it. "Update profile" changes language to selected.

When user logs in directly to Gitea (bypassing reverse proxy), language setting from user's profile is used.

Originally created by @browcio on GitHub (Aug 13, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.9.0 - Git version: 2.17.1 - Operating system: ubuntu 18.04 - Database (use `[x]`): - [X] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X] No - [X] Not relevant - Log gist: ## Description We have Gitea configured to use reverse proxy authentication. One user would like to use English instead of his native language in Gitea's interface. When user logs in using reverse proxy, Gitea sets interface language based on browser headers (I guess?), ignoring settings from user profile. If user then goes to user settings, desired language is chosen in language section but interface do not use it. "Update profile" changes language to selected. When user logs in directly to Gitea (bypassing reverse proxy), language setting from user's profile is used.
GiteaMirror added the issue/stale label 2025-11-02 05:24:33 -06:00
Author
Owner

@stale[bot] commented on GitHub (Oct 12, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Oct 12, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Oct 26, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Oct 26, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3767