Make user login atomic #4

Merged
simponic merged 2 commits from user-login-upsert into main 2024-04-02 16:41:22 -04:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit 161dcbad20 - Show all commits

View File

@ -55,11 +55,6 @@ func FindOrSaveUser(dbConn *sql.DB, user *User) (*User, error) {
return nil, err
}
// _, err = dbConn.Exec(`UPDATE users SET mail = ?, username = ?, display_name = ? WHERE id = ?;`, user.Mail, user.Username, user.DisplayName, user.ID)
// if err != nil {
// return nil, err
// }
return user, nil
}