diff options
Diffstat (limited to 'app/views/users/_form.html.erb')
-rw-r--r-- | app/views/users/_form.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index b9054a3b0..ab9f7b541 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -42,6 +42,7 @@ <p><%= f.check_box :generate_password %></p> <p><%= f.check_box :must_change_passwd %></p> </div> + <% if Setting.twofa? -%> <p> <label><%=l :setting_twofa -%></label> <% if @user.twofa_active? %> @@ -55,6 +56,7 @@ <%=l 'twofa_not_active' %> <% end %> </p> + <% end -%> </fieldset> </div> |