プロジェクト

全般

プロフィール

Vote #77636

完了

Set user's localization before redirecting on forced password change to generate flash message in current user's language

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
122
issue_org_id:
23346
author_id:
2784
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

If a user is forced to change their password on login, they get redirected to a password change form with a flash message set. The flash message however is generated using the locale of the previous request since the current localization is only set to i18n after the redirect. When multiple users with dirrferent languages are using a Redmine, the flash message can thus be shown in an unexpected language.

The attached patch against the current trunk fixes this behavior by setting the language before checking for a forced password change.


journals

--------------------------------------------------------------------------------
Patch committed, thanks.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリI18n_37 にセット
  • 対象バージョン3.3.1_122 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0