Fix role management interface not offering to require 2FA for all users (#38906)

This commit is contained in:
Claire 2026-05-05 16:46:52 +02:00 committed by GitHub
parent 3bc27b9b64
commit 5e3e11bbfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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