* Mention max length for site name in config (fixes #3006) * ci
This commit is contained in:
parent
2dad29106a
commit
50b7322ff3
2 changed files with 4 additions and 4 deletions
|
@ -63,9 +63,9 @@
|
|||
setup: {
|
||||
# Username for the admin user
|
||||
admin_username: "admin"
|
||||
# Password for the admin user. It must be at least 10 characters.
|
||||
# Password for the admin user. It must be between 10 and 60 characters.
|
||||
admin_password: "tf6HHDS4RolWfFhk4Rq9"
|
||||
# Name of the site (can be changed later)
|
||||
# Name of the site, can be changed later. Maximum 20 characters.
|
||||
site_name: "My Lemmy Instance"
|
||||
# Email for the admin user (optional, can be omitted and set later through the website)
|
||||
admin_email: "user@example.com"
|
||||
|
|
|
@ -154,10 +154,10 @@ pub struct SetupConfig {
|
|||
/// Username for the admin user
|
||||
#[doku(example = "admin")]
|
||||
pub admin_username: String,
|
||||
/// Password for the admin user. It must be at least 10 characters.
|
||||
/// Password for the admin user. It must be between 10 and 60 characters.
|
||||
#[doku(example = "tf6HHDS4RolWfFhk4Rq9")]
|
||||
pub admin_password: String,
|
||||
/// Name of the site (can be changed later)
|
||||
/// Name of the site, can be changed later. Maximum 20 characters.
|
||||
#[doku(example = "My Lemmy Instance")]
|
||||
pub site_name: String,
|
||||
/// Email for the admin user (optional, can be omitted and set later through the website)
|
||||
|
|
Loading…
Reference in a new issue