forked from jason/cpolis
		
	Delete fmt.Println() uses
This commit is contained in:
		@@ -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},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user