diff options
author | 2021-05-03 00:36:53 +0200 | |
---|---|---|
committer | 2021-05-02 20:34:33 -0700 | |
commit | fa49bcaf8bf975a81926db322ee8ae46e7f82ec4 (patch) | |
tree | 4bd01db8422bea8af906674a99adfe96bc494a21 | |
parent | 89e8e94bf1d7b85a67f61db1f7c5466e2a204d93 (diff) | |
download | v2-fa49bcaf8bf975a81926db322ee8ae46e7f82ec4.tar.gz v2-fa49bcaf8bf975a81926db322ee8ae46e7f82ec4.tar.zst v2-fa49bcaf8bf975a81926db322ee8ae46e7f82ec4.zip |
Fix password reset via CLI
-rw-r--r-- | cli/reset_password.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/reset_password.go b/cli/reset_password.go index de2423d4..93556576 100644 --- a/cli/reset_password.go +++ b/cli/reset_password.go @@ -34,6 +34,7 @@ func resetPassword(store *storage.Storage) { os.Exit(1) } + user.Password = password if err := store.UpdateUser(user); err != nil { fmt.Fprintf(os.Stderr, "%v\n", err) os.Exit(1) |