mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
* Mention max length for site name in config (fixes #3006) * ci
This commit is contained in:
parent
2dad29106a
commit
50b7322ff3
|
@ -63,9 +63,9 @@
|
||||||
setup: {
|
setup: {
|
||||||
# Username for the admin user
|
# Username for the admin user
|
||||||
admin_username: "admin"
|
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"
|
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"
|
site_name: "My Lemmy Instance"
|
||||||
# Email for the admin user (optional, can be omitted and set later through the website)
|
# Email for the admin user (optional, can be omitted and set later through the website)
|
||||||
admin_email: "user@example.com"
|
admin_email: "user@example.com"
|
||||||
|
|
|
@ -154,10 +154,10 @@ pub struct SetupConfig {
|
||||||
/// Username for the admin user
|
/// Username for the admin user
|
||||||
#[doku(example = "admin")]
|
#[doku(example = "admin")]
|
||||||
pub admin_username: String,
|
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")]
|
#[doku(example = "tf6HHDS4RolWfFhk4Rq9")]
|
||||||
pub admin_password: String,
|
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")]
|
#[doku(example = "My Lemmy Instance")]
|
||||||
pub site_name: String,
|
pub site_name: String,
|
||||||
/// Email for the admin user (optional, can be omitted and set later through the website)
|
/// Email for the admin user (optional, can be omitted and set later through the website)
|
||||||
|
|
Loading…
Reference in a new issue