Auth

Revert the authentication module added by vela enable auth.

Syntax

$ vela disable auth

Options

  • -y, --yes - Skip the confirmation prompt

What it removes

  • The auth routes under (public)/(auth)
  • The layout and hooks.server.ts edits that protect the (app) group
  • The oauth_accounts collection

This also reverts the remote-functions variant of the auth module, if that is what was generated.

What it leaves

The users collection and every user record in it. Disabling auth removes the sign-in flow, not your users — drop the collection yourself if that is what you want.