\Dvivier\Smarticops\Http\Controllers\AuthSmarticopsPasswordController

A controller to handle password reset requests

Summary

Methods
Properties
Constants
sendResetLinkEmail()
showResetForm()
reset()
__construct()
No public properties found
No constants found
getResetValidationRules()
$redirectTo
N/A
No private methods found
No private properties found
N/A

Properties

$redirectTo

$redirectTo : 

Type

Methods

sendResetLinkEmail()

sendResetLinkEmail(\Illuminate\Http\Request  $request) : \Illuminate\Http\Response

Send a reset link to the given user.

Method copied from ResetsPasswords and adapted. The parent method is overrided and not called.

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\Response

showResetForm()

showResetForm(\Illuminate\Http\Request  $request, string|null  $token = null) : \Illuminate\Http\Response

Display the password reset view for the given token.

If no token is present, display the link request form.

Copied and adapted from the parent method which is overrided and not called.

Parameters

\Illuminate\Http\Request $request
string|null $token

Returns

\Illuminate\Http\Response

reset()

reset(\Illuminate\Http\Request  $request) : \Illuminate\Http\Response

Reset the given user's password.

Method copied from ResetsPasswords and adapted. The parent method id overrided and not called.

Since the content of this method is essentially copied from Laravel's core, it will not be updated directly. That's the reason why this package is only compatible with Laravel 5.2.x . For future versions of Laravel, it will be necessary to check that the code of the method ResetsPasswords::sendResetLinkEmail()has not changed, or if it has, update this method consequently.

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\Response

__construct()

__construct() : void

Create a new password controller instance.

Change the locale according to the Session information.

getResetValidationRules()

getResetValidationRules() : array

Get the password reset validation rules.

Overrides parent method, but does not call it.

Returns

array