From 485eaaca706fbc9b0293472915c385a70c271908 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Fri, 1 Nov 2024 16:32:42 +0100 Subject: [PATCH] Delete fmt.Println() uses --- cmd/backend/users.go | 2 -- 1 file changed, 2 deletions(-) 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},