Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/app/Http/Middleware/VerificationMiddleware.php
Назад
<?php namespace App\Http\Middleware; use App\Models\Role; use Closure; use Illuminate\Support\Facades\Gate; class VerificationMiddleware { public function handle($request, Closure $next) { if (auth()->check()) { if (!auth()->user()->verified) { auth()->logout(); return redirect()->route('login')->with('message', trans('global.verifyYourEmail')); } } return $next($request); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка