Version 6 pre-stable
This version of Silverstripe CMS has not yet been given a stable release. See the release roadmap for more information. Go to documentation for the most recent stable version.

Local development

When running development versions of a project using this module, you may want to disable multi-factor authentication while you test other features. This will not redirect you to multi-factor authentication registration or verification screens when logging in.

The easiest way is to set an environment variable:

BYPASS_MFA=1

Alternatively, YAML configuration affords you more control over the conditions:

---
Name: mydevconfig
Only:
  environment: dev
---
SilverStripe\MFA\Service\EnforcementManager:
  enabled: false