File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -632,6 +632,11 @@ def init_sentry(before_send: Callable | None = None):
632
632
633
633
# we run the admin site monkeypatch instead.
634
634
TWO_FACTOR_PATCH_ADMIN = False
635
+ # Relying Party name for WebAuthn (hardware tokens)
636
+ TWO_FACTOR_WEBAUTHN_RP_NAME = f"{ PROJECT_DIRNAME } - admin"
637
+ # use platform for fingerprint readers etc., or remove the setting to allow any.
638
+ # cross-platform would limit the options to devices like phones/yubikeys
639
+ TWO_FACTOR_WEBAUTHN_AUTHENTICATOR_ATTACHMENT = "cross-platform"
635
640
# add entries from AUTHENTICATION_BACKENDS that already enforce their own two-factor
636
641
# auth, avoiding having some set up MFA again in the project.
637
642
MAYKIN_2FA_ALLOW_MFA_BYPASS_BACKENDS = [
You can’t perform that action at this time.
0 commit comments