RegisterController
class RegisterController extends RegisterController
Traits
Properties
protected string | $redirectTo | Where to redirect users after login / registration. |
from RegisterController |
Methods
Determines if the request was done by an automated script (with API token or ajax).
Get a validator for an incoming registration request.
Create a new user instance after a valid registration.
Show the application registration form.
Handle a registration request for the application.
Determines if the user registration mechansim is disabled.
Determines if the user registration confirmation by admins is enabled.
The user has been registered.
Details
in
Controller at line 21
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
in
RegisterController at line 50
void
__construct()
Create a new controller instance.
at line 80
protected Validator
validator(array $data)
Get a validator for an incoming registration request.
in
RegisterController at line 92
protected User
create(array $data)
Create a new user instance after a valid registration.
at line 18
Response
showRegistrationForm()
Show the application registration form.
at line 34
Response
register(Request $request)
Handle a registration request for the application.
in
RegisterController at line 151
protected bool
isRegistrationDisabled()
Determines if the user registration mechansim is disabled.
in
RegisterController at line 161
protected bool
isAdminConfirmationEnabled()
Determines if the user registration confirmation by admins is enabled.
at line 99
protected mixed
registered(Request $request, mixed $user)
The user has been registered.