RegisterController
class RegisterController extendsController
Traits
Properties
protectedstring | $redirectTo | Where to redirect users after login / registration. |
Methods
Determines if the request was done by an automated script (with API token or ajax).
Create a new controller instance.
Get a validator for an incoming registration request.
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
inControllerat line21
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
at line48
void
__construct()
Create a new controller instance.
at line59
protectedValidator
validator(array$data)
Get a validator for an incoming registration request.
at line90
protectedUser
create(array$data)
Create a new user instance after a valid registration.
at line114
Response
showRegistrationForm()
Show the application registration form.
at line129
Response
register(Request$request)
Handle a registration request for the application.
at line143
protectedbool
isRegistrationDisabled()
Determines if the user registration mechansim is disabled.
at line153
protectedbool
isAdminConfirmationEnabled()
Determines if the user registration confirmation by admins is enabled.
at line165
protectedmixed
registered(Request$request,mixed$user)
The user has been registered.