浏览代码

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
tags/4.2.0
Go MAEDA 3 年前
父节点
当前提交
46156e08a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/views/users/_form.html.erb

+ 1
- 1
app/views/users/_form.html.erb 查看文件

@@ -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? %>

正在加载...
取消
保存