silverstripe-framework/_config/security.yml
Simon Erkelens 3f1f9d04b7 Improve the default LoginForm
- has the fields and actions extracted to a separate method, so it's more easily overridable
- Moved the global variable $_REQUEST to getting the info from the controller
- Updated string variables to `::class`
- Updated RequiredFields to be set in the YML, so it's overridable/updatable from either Config or code
2017-04-16 19:05:29 +12:00

4 lines
84 B
YAML

SilverStripe\Security\MemberLoginForm:
required_fields:
- Email
- Password