<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Auth\Middleware\RequirePassword as MiddlewareRequirePassword;
class RequirePassword extends MiddlewareRequirePassword
{
/**
* {@inheritDoc}
*/
public function handle($request, Closure $next, $redirectToRoute = null)
{
return parent::handle($request, $next, [$redirectToRoute ?? 'password.confirm', app()->getLocale()]);
}
}
Баннер этот ещё на полэкрана