class UserRegistrationController extends Controller

Traits

AuthorizesRequests
ValidatesRequests

Methods

bool
isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

__construct()

Creates a new instance.

mixed
accept(int $id, Request $request)

Approves a user sign up.

mixed
reject(int $id, Request $request)

Reject a user sign up.

bool
isAdminConfirmationEnabled()

Determines if the user registration confirmation by admins is enabled.

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).

Parameters

Request $request

Return Value

bool

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line 17
__construct()

Creates a new instance.

at line 37
mixed accept(int $id, Request $request)

Approves a user sign up.

Parameters

int $id

User ID

Request $request

Return Value

mixed

at line 77
mixed reject(int $id, Request $request)

Reject a user sign up.

Parameters

int $id
Request $request

Return Value

mixed

at line 105
protected bool isAdminConfirmationEnabled()

Determines if the user registration confirmation by admins is enabled.

Return Value

bool