diff --git a/docs/admin/cli.md b/docs/admin/cli.md index d9178b24d..653c8aa3e 100644 --- a/docs/admin/cli.md +++ b/docs/admin/cli.md @@ -179,7 +179,7 @@ Flags: Example: ```bash -gotosocial admin account password --username some_username --pasword some_really_good_password --config-path config.yaml +gotosocial admin account password --username some_username --password some_really_good_password --config-path config.yaml ``` ### gotosocial admin export diff --git a/internal/validate/formvalidation.go b/internal/validate/formvalidation.go index c4028ec66..976ffa560 100644 --- a/internal/validate/formvalidation.go +++ b/internal/validate/formvalidation.go @@ -66,7 +66,7 @@ func NewPassword(password string) error { fmt.Sprintf("password is only %d%% strength", percent))) } - return nil // pasword OK + return nil // password OK } // Username makes sure that a given username is valid (ie., letters, numbers, underscores, check length).