. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. namespace App\Providers; use Illuminate\Support\ServiceProvider; use Route; class AdditionalDuskServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { Route::get('/_dusk/verify', function () { \Session::instance()->markVerified(); return response(null, 204); })->middleware('web'); } }