title: Disable Auth Register route in Laravel 8?
body: <p>I need to disable my register route in Laravel 8. Tried</p>
  <pre><code>Auth::routes([
       'register' =&gt; false,
       'login' =&gt; false,
  ]);
  </code></pre>
  <p>but the application threw up an error.</p>
  <pre><code>RuntimeException
  In order to use the Auth::routes() method, please install the laravel/ui package.
  </code></pre>
  <p>If anyone points out what needs to change, will be grateful.</p>
  <p>Thanks</p>