Skip to content

Commit

Permalink
Disable 2FA by default in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Feb 14, 2024
1 parent 2601e48 commit 94f943a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects/conf/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
NOTIFICATIONS_DISABLED = True

# None of the authentication backends require two-factor authentication.
if config("DISABLE_2FA", default=False): # pragma: no cover
if config("DISABLE_2FA", default=True): # pragma: no cover
MAYKIN_2FA_ALLOW_MFA_BYPASS_BACKENDS = AUTHENTICATION_BACKENDS

# Override settings with local settings.
Expand Down

0 comments on commit 94f943a

Please sign in to comment.