CustomRedirectLoginForm::logInUserAndRedirect
Overidden, added call to redirectByGroup().
Login in the user and figure out where to redirect the browser. The $data has this format array( 'AuthenticationMethod' => 'MemberAuthenticator', 'Email' => 'sam@silverstripe.com', 'Password' => '1nitialPassword', 'BackURL' => 'test/link', [Optional: 'Remember' => 1 ] )
Signature
protected function logInUserAndRedirect(array
$data )
Parameters
$data
— array
Returns
- void