mirror of
https://github.com/mastodon/mastodon.git
synced 2026-05-06 05:17:52 -05:00
Fix role management interface not offering to require 2FA for all users (#38906)
This commit is contained in:
parent
3bc27b9b64
commit
5e3e11bbfa
|
|
@ -25,12 +25,12 @@
|
|||
= form.input :highlighted,
|
||||
wrapper: :with_label
|
||||
|
||||
- if current_user.role.administrator? || current_user.role != form.object
|
||||
.fields-group
|
||||
= form.input :require_2fa,
|
||||
wrapper: :with_label
|
||||
- if current_user.role.administrator? || current_user.role != form.object
|
||||
.fields-group
|
||||
= form.input :require_2fa,
|
||||
wrapper: :with_label
|
||||
|
||||
%hr.spacer/
|
||||
%hr.spacer/
|
||||
|
||||
- if Mastodon::Feature.collections_enabled?
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user