Browse Source

Fix password reset via CLI

jacekk 5 years ago
parent
commit
fa49bcaf8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cli/reset_password.go

+ 1 - 0
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)