\MemberLoginFormWithSignup
Log-in form for the "member" authentication method
Synopsis
class MemberLoginFormWithSignup
extends LoginForm
{
- // members
- public string $loggedInAsField = 'FirstName';
- protected string $authenticator_class = 'MemberAuthenticatorWithSignup';
- // methods
- public void __construct()
- protected void getMessageFromSession()
- public void createorupdateaccount()
- public void logout()
- public Member createOrUpdateUser()
Hierarchy
Extends
- LoginForm
Members
protected
- $authenticator_class
public
- $loggedInAsField
—
string
This field is used in the "You are logged in as %s" message
Methods
protected
- getMessageFromSession() — Get message from session
public
- __construct() — Constructor
- createOrUpdateUser() — Try to authenticate the user
- createorupdateaccount() — Login form handler method
- logout() — Log out form handler method