File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { handleVerification as handleChangeEmailVerification } from '#app/routes
6
6
import { twoFAVerificationType } from '#app/routes/settings+/profile.two-factor.tsx'
7
7
import { requireUserId } from '#app/utils/auth.server.ts'
8
8
import { prisma } from '#app/utils/db.server.ts'
9
- import { ensurePrimary } from '#app/utils/litefs.server.ts'
10
9
import { getDomainUrl } from '#app/utils/misc.tsx'
11
10
import { redirectWithToast } from '#app/utils/toast.server.ts'
12
11
import { generateTOTP , verifyTOTP } from '#app/utils/totp.server.ts'
@@ -168,10 +167,6 @@ export async function validateRequest(
168
167
)
169
168
}
170
169
171
- // this code path could be part of a loader (GET request), so we need to make
172
- // sure we're running on primary because we're about to make writes.
173
- await ensurePrimary ( )
174
-
175
170
const { value : submissionValue } = submission
176
171
177
172
async function deleteVerification ( ) {
You can’t perform that action at this time.
0 commit comments