Trait SignIn
Trait for class \MvcCore\Ext\Auths\Basics\SignInForm. Trait contains:
- Init() method to initialize all necessary sign in form fields.
- Submit() method to handle sign-in form submit request (POST by default).
Methods summary
public
MvcCore\Ext\Auths\Basics\SignInForm
|
#
Init( boolean $submit = FALSE )
Initialize all form fields, initialize hidden field with
sourceUrl for cases when in request params is any source URL param.
To return there after form is submitted.
Initialize all form fields, initialize hidden field with
sourceUrl for cases when in request params is any source URL param.
To return there after form is submitted.
Parameters
Returns
|
public
array
|
#
Submit( array & $rawRequestParams = [] )
Sign in submit - if there is any user with the same password imprint
store user in session for next requests, if there is not - wait for
three seconds and then go to error page.
Sign in submit - if there is any user with the same password imprint
store user in session for next requests, if there is not - wait for
three seconds and then go to error page.
Parameters
Returns
array
|