Manage the accounts people sign in to your app with.
Syntax
$ vela users <command>create- Create an app user, or change one
App users and admin logins
An app has two kinds of account, and they do not overlap:
- An app user is a record in the app’s own auth collection,
usersunless you named another. It is whatvela enable authsigns in at/login, whatlocals.userholds and what your collections’ rules refer to.vela users createmakes one. - An admin login is a PocketBase superuser. It opens the admin panel at
/adminand nothing else: it cannot sign in to the app.vela admin createmakes one.
A first deploy has a superuser, created on the server, and no app users at all: the database is new. Create the first account with vela users create -t production, or sign up through the app if it has a signup page.