[chore] Fix password typos (#1966)

Fixes #1963
This commit is contained in:
Daenney 2023-07-09 18:25:37 +02:00 committed by GitHub
parent b0f0c8b822
commit 65c89709bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ Flags:
Example: Example:
```bash ```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 ### gotosocial admin export

View File

@ -66,7 +66,7 @@ func NewPassword(password string) error {
fmt.Sprintf("password is only %d%% strength", percent))) 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). // Username makes sure that a given username is valid (ie., letters, numbers, underscores, check length).