Documentation
¶
Overview ¶
Package admin implements the Controller's command-line administration: creating the first administrator on a fresh install and recovering an account whose owner is locked out. It talks to the database directly, so it works before anyone can sign in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
CreateUser creates a user with a random one-time password, which it returns for the operator to hand over. The user must replace it at their first sign-in.
Types ¶
Click to show internal directories.
Click to hide internal directories.