@if blade to enable or disable on Auth::Check

PHP
Auth::routes(['register' => false]);
Source

Also in PHP: