PHP Class App\Http\Middleware\IsStalePassword

Show file Open project: doptor/doptor

Public Methods

Method Description
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed Check if the users password was changed within last 6 months or not If not ask to change the password, before the user can log in

Method Details

handle() public method

Check if the users password was changed within last 6 months or not If not ask to change the password, before the user can log in
public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
return mixed