diff --git a/cmd/backend/users.go b/cmd/backend/users.go index 5a1c08e..a9f893e 100644 --- a/cmd/backend/users.go +++ b/cmd/backend/users.go @@ -293,7 +293,6 @@ func (db *DB) UpdateOwnUserAttributes(c *Config, id int64, userName, firstName, return fmt.Errorf("error starting transaction: %v", err) } - fmt.Println(len(newPass), passwordEmpty) if !passwordEmpty { if err = tx.ChangePassword(id, oldPass, newPass); err != nil { if rollbackErr := tx.Rollback(); rollbackErr != nil { @@ -327,7 +326,6 @@ func (db *DB) UpdateOwnUserAttributes(c *Config, id int64, userName, firstName, return fmt.Errorf("error encrypting email: %v", err) } - fmt.Println("profilePicLink:", profilePicLink) if err = tx.UpdateAttributes( &Attribute{Table: "users", ID: id, AttName: "username", Value: userName}, &Attribute{Table: "users", ID: id, AttName: "first_name", Value: aesFirstName},