Skip to content

Commit c68e27e

Browse files
authored
Stop overwriting contact column upon account deactivation (#8248)
This fixes an oversight in #8200. Part of #8199
1 parent fbf0c06 commit c68e27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sa/sa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ func (ssa *SQLStorageAuthority) DeactivateRegistration(ctx context.Context, req
415415

416416
result, overallError := db.WithTransaction(ctx, ssa.dbMap, func(tx db.Executor) (any, error) {
417417
result, err := tx.ExecContext(ctx,
418-
"UPDATE registrations SET status = ?, contact = '[]' WHERE status = ? AND id = ? LIMIT 1",
418+
"UPDATE registrations SET status = ? WHERE status = ? AND id = ? LIMIT 1",
419419
string(core.StatusDeactivated),
420420
string(core.StatusValid),
421421
req.Id,

0 commit comments

Comments
 (0)