\Dvivier\Smarticops\Http\ControllersConfirmController

A controller to manage the email confirmation feature.

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
sendConfirmToken()
confirm()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Called by all child controllers.

Change the locale according to the Session information.

sendConfirmToken()

sendConfirmToken(\Illuminate\Http\Request  $request, \Dvivier\Smarticops\User  $user) 

Creates a confirmation token and sends email to the user with a confirmation link

Parameters

\Illuminate\Http\Request $request
\Dvivier\Smarticops\User $user

confirm()

confirm(\Illuminate\Http\Request  $request, string  $token) 

Handles a confirmation request Confirms the user if the link is valid

Parameters

\Illuminate\Http\Request $request
string $token

The token to use for confirmation