Documentation
¶
Overview ¶
Package bootstrapmeta holds shared constants and helpers for system DB first-run bootstrap. Orchestration lives in each ApitoSystemDB driver implementation.
Index ¶
Constants ¶
View Source
const ( AdminEmail = "admin@apito.io" DefaultAdminPass = "#ApitoRocks#" AdminFirstName = "Apito" AdminLastName = "Admin" StarterProjectID = "apito_website" StarterProjectName = "Apito Website" )
Variables ¶
This section is empty.
Functions ¶
func HashDefaultAdminPassword ¶
HashDefaultAdminPassword returns a bcrypt hash for the default bootstrap password.
func IsUserLookupMiss ¶
IsUserLookupMiss reports whether err means the user document was not found.
func LogDefaultAdminCredentials ¶
func LogDefaultAdminCredentials(email, plainPassword string)
LogDefaultAdminCredentials prints the bordered login banner (plaintext password).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.