diff options
| author | 2025-04-13 14:03:09 -0700 | |
|---|---|---|
| committer | 2025-04-13 23:03:09 +0200 | |
| commit | c803620531660428b0ac8057b105e3d34bb5c53c (patch) | |
| tree | 827227b2488d051aa6d956bbdaadbbea2cc62c3f | |
| parent | [bugfix] Fix setting bot on/off (#3986) (diff) | |
| download | gotosocial-c803620531660428b0ac8057b105e3d34bb5c53c.tar.xz | |
[docs] Remind the user that password resets don't work without restarting. (#3998)
Every time I reset the password, I assume that something went wrong,
because I forget that the server will not pick up on the reset
password until it's been restarted according to the docs:
https://docs.gotosocial.org/en/latest/admin/cli/#gotosocial-admin-account-password
A reminder here would help reduce confusion.
| -rw-r--r-- | cmd/gotosocial/action/admin/account/account.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/gotosocial/action/admin/account/account.go b/cmd/gotosocial/action/admin/account/account.go index aa241177d..7486e9657 100644 --- a/cmd/gotosocial/action/admin/account/account.go +++ b/cmd/gotosocial/action/admin/account/account.go @@ -383,6 +383,7 @@ var Password action.GTSAction = func(ctx context.Context) error { } user.EncryptedPassword = string(encryptedPassword) + log.Info(ctx, "Updating password; you must restart the server to use the new password.") return state.DB.UpdateUser( ctx, user, "encrypted_password", |
