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)

Approves a user sign up.

mixed
reject(int $id)

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 36
mixed accept(int $id)

Approves a user sign up.

Parameters

int $id

User ID

Return Value

mixed

at line 69
mixed reject(int $id)

Reject a user sign up.

Parameters

int $id

Return Value

mixed

at line 91
protected bool isAdminConfirmationEnabled()

Determines if the user registration confirmation by admins is enabled.

Return Value

bool