mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
d06d5c113b
BUG Resolve issue with DirectorTest breaking RequestProcessor Injector::nest and Injector::unnest are introduced to better support sandboxing of testings. Injector and Config ::nest and ::unnest support chaining Test cases for both Injector::nest and Config::nest
710 B
710 B
3.1.5
Upgrading
- If running an application in an environment where user security is critical, it may be necessary to
assign the config value
Security.remember_username
to false. This will disable persistence of user login name between sessions, and disable browser auto-completion on the username field. Note that users of certain browsers who have previously autofilled and saved login credentials will need to clear their password autofill history before this setting is properly respected. - Test cases that rely on updating and restoring
[api:Injector]
services may now take advantage of the newInjector::nest()
andInjector::unnest()
methods to sandbox their alterations.