mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
e226b67d06
Further down the line, I'm only returning the `Member` on the doLogin, so it's possible for the Handler or Extending Handler to move to a second step. Also cleaned up some minor typos I ran in to. Nothing major. This solution works and is manually tested for now. Supports multiple login forms that end up in the correct handler. I haven't gotten past the handler yet, as I've yet to refactor my Yubiauth implementation. FIX: Corrections to the multi-login-form support. Importantly, the system provide a URL-space for each handler, e.g. “Security/login/default” and “Security/login/other”. This is much cleaner than identifying the active authenticator by a get parameter, and means that the tabbed interface is only needed on the very first view. Note that you can test this without a module simply by loading the default authenticator twice: SilverStripe\Security\Security: authenticators: default: SilverStripe\Security\MemberAuthenticator\Authenticator other: SilverStripe\Security\MemberAuthenticator\Authenticator FIX: Refactor delegateToHandler / delegateToHandlers to have less duplicated code. |
||
---|---|---|
.. | ||
BasicAuthTest | ||
GroupCsvBulkLoaderTest | ||
GroupTest | ||
InheritedPermissionsTest | ||
MemberCsvBulkLoaderTest | ||
MemberTest | ||
PasswordEncryptorTest | ||
SecurityTest | ||
BasicAuthTest.php | ||
BasicAuthTest.yml | ||
GroupCsvBulkLoaderTest.php | ||
GroupCsvBulkLoaderTest.yml | ||
GroupTest.php | ||
GroupTest.yml | ||
InheritedPermissionsTest.php | ||
InheritedPermissionsTest.yml | ||
MemberAuthenticatorTest.php | ||
MemberCsvBulkLoaderTest.php | ||
MemberCsvBulkLoaderTest.yml | ||
MemberTest.php | ||
MemberTest.yml | ||
PasswordEncryptorTest.php | ||
PasswordValidatorTest.php | ||
PermissionCheckboxSetFieldTest.php | ||
PermissionCheckboxSetFieldTest.yml | ||
PermissionRoleTest.php | ||
PermissionRoleTest.yml | ||
PermissionTest.php | ||
PermissionTest.yml | ||
RandomGeneratorTest.php | ||
SecurityDefaultAdminTest.php | ||
SecurityTest.php | ||
SecurityTokenTest.php |