mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-09 09:52:10 +00:00
Adding min setup password length to the docs. Fixes #1989
This commit is contained in:
parent
0ed3856ef1
commit
a396a5aebd
|
@ -83,8 +83,8 @@
|
|||
setup: {
|
||||
# Username for the admin user
|
||||
admin_username: "admin"
|
||||
# Password for the admin user
|
||||
admin_password: "my_passwd"
|
||||
# Password for the admin user. It must be at least 10 characters.
|
||||
admin_password: "my_passwd_longer_than_ten_characters"
|
||||
# Name of the site (can be changed later)
|
||||
site_name: "My Lemmy Instance"
|
||||
# Email for the admin user (optional, can be omitted and set later through the website)
|
||||
|
|
|
@ -165,8 +165,8 @@ pub struct SetupConfig {
|
|||
/// Username for the admin user
|
||||
#[doku(example = "admin")]
|
||||
pub admin_username: String,
|
||||
/// Password for the admin user
|
||||
#[doku(example = "my_passwd")]
|
||||
/// Password for the admin user. It must be at least 10 characters.
|
||||
#[doku(example = "my_passwd_longer_than_ten_characters")]
|
||||
pub admin_password: String,
|
||||
/// Name of the site (can be changed later)
|
||||
#[doku(example = "My Lemmy Instance")]
|
||||
|
|
Loading…
Reference in a new issue