1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 20:59:38 +00:00

Don't show "Two-factor authentication" on new user form (#1237, #34495).

git-svn-id: http://svn.redmine.org/redmine/trunk@20691 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2020-12-25 08:30:20 +00:00
parent cde271e79e
commit 46156e08a9

View File

@ -42,7 +42,7 @@
<p><%= f.check_box :generate_password %></p>
<p><%= f.check_box :must_change_passwd %></p>
</div>
<% if Setting.twofa? -%>
<% if Setting.twofa? && !@user.new_record? -%>
<p>
<label><%=l :setting_twofa -%></label>
<% if @user.twofa_active? %>