Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 655 Bytes

local-development.md

File metadata and controls

22 lines (17 loc) · 655 Bytes

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