1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Information text on sudo password entry (#33660).

Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21699 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-07-10 06:57:16 +00:00
parent 675adf74bd
commit 15e444ae38
4 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<h3 class="title"><%= l(:label_password_required) %></h3>
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p>
<%= form_tag({}, remote: true) do %>
<%= hidden_field_tag '_method', request.request_method %>
@ -8,6 +9,7 @@
<p>
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
<%= password_field_tag :sudo_password, nil, size: 25 %>
<br/><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %>
</p>
</div>

View File

@ -1,4 +1,5 @@
<h2><%= l :label_password_required %></h2>
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p>
<%= form_tag({}, method: :post, class: 'tabular', id: 'sudo-form') do %>
<%= hidden_field_tag '_method', request.request_method %>
@ -8,6 +9,7 @@
<p>
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
<%= password_field_tag :sudo_password, nil, size: 25 %>
</br><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %>
</p>
</div>
<%= submit_tag l(:button_submit) %>

View File

@ -1328,6 +1328,7 @@ de:
field_passwd_changed_on: Passwort zuletzt geändert
label_import_users: Benutzer importieren
label_days_to_html: "%{days} Tage bis %{date}"
sudo_mode_new_info_html: <strong>Warum das ganze?</strong> Zu Ihrem Schutz bitten wir Sie Ihr Kennwort zu bestätigen, bevor Sie sicherheitsrelevante Einstellungen ändern.
setting_twofa: Zwei-Faktor-Authentifizierung
twofa__totp__name: Authentifizierungs-App
twofa__totp__text_pairing_info_html: 'Bitte scannen Sie diesen QR-Code oder verwenden Sie den Klartext-Schlüssel in einer TOTP-kompatiblen Authentifizierungs-App (z.B. <a href="https://support.google.com/accounts/answer/1066447?hl=de">Google Authenticator</a>, <a href="https://authy.com/download/">Authy</a>, <a href="https://guide.duo.com/third-party-accounts">Duo Mobile</a>). Anschließend geben Sie bitte den in der App generierten Code unten ein.'

View File

@ -1357,6 +1357,7 @@ en:
text_project_is_public_anonymous: Public projects and their contents are openly available on the network.
label_import_time_entries: Import time entries
label_import_users: Import users
sudo_mode_new_info_html: <strong>What's happening?</strong> You need to reconfirm your password before taking any administrative actions, this ensures your account stays protected.
twofa__totp__name: Authenticator app
twofa__totp__text_pairing_info_html: 'Scan this QR code or enter the plain text key into a TOTP app (e.g. <a href="https://support.google.com/accounts/answer/1066447">Google Authenticator</a>, <a href="https://authy.com/download/">Authy</a>, <a href="https://guide.duo.com/third-party-accounts">Duo Mobile</a>) and enter the code in the field below to activate two-factor authentication.'