class
Illuminate
/
Auth
/
Middleware
/
RequirePassword
You are viewing an older version of the documentation. For the latest, please visit master documentation.
RequirePassword
Properties
protected
$passwordTimeout int
The password timeout.
Default: null
Methods
public
__construct ( ResponseFactory $responseFactory , UrlGenerator $urlGenerator , $passwordTimeout ) : void
Create a new middleware instance.
Parameters
- $responseFactory ResponseFactory
- $urlGenerator UrlGenerator
- $passwordTimeout int|null
public
handle ( $request , Closure $next , $redirectToRoute ) : mixed
Handle an incoming request.
Parameters
protected
shouldConfirmPassword ( $request ) : bool
Determine if the confirmation timeout has expired.
Parameters
- $request Request