leo
6ce05ea74d
All checks were successful
continuous-integration/drone/push Build is passing
have the app create the initial admin user: * if the db has not yet been set up * if there are not users * if the config value for Init.CreateAdmin is True * if the admin password is not empty default username, email values can be seen in modules/user/const.go
12 lines
313 B
Go
12 lines
313 B
Go
// Copyright 2023 wanderer <a_mirre at utb dot cz>
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
package user
|
|
|
|
const (
|
|
// AdminUname is the username of the initial administrator user.
|
|
AdminUname = "admin"
|
|
// AdminEmail is the email of the initial administrator user.
|
|
AdminEmail = "admin@adminmail.admindomain"
|
|
)
|