From b10072b85e57ffb0be3523c3316e9a95795e6938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 26 Sep 2026 16:35:42 +0200 Subject: [PATCH] style(auth): format the re-proof and profile-update helpers --- src/lib/auth/existing-factor-proof.ts | 3 ++- src/lib/auth/profile-update.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/auth/existing-factor-proof.ts b/src/lib/auth/existing-factor-proof.ts index 6740aab81..64a9c3060 100644 --- a/src/lib/auth/existing-factor-proof.ts +++ b/src/lib/auth/existing-factor-proof.ts @@ -283,7 +283,8 @@ async function readProof( return parsed.success ? parsed.data : "invalid"; } -export type SensitiveChangeProof = "ok" | "required" | "failed" | "rate_limited"; +export type SensitiveChangeProof = + "ok" | "required" | "failed" | "rate_limited"; /** * The proof in front of changing the account's email address. diff --git a/src/lib/auth/profile-update.ts b/src/lib/auth/profile-update.ts index bf57b99a7..ceacbea3d 100644 --- a/src/lib/auth/profile-update.ts +++ b/src/lib/auth/profile-update.ts @@ -327,7 +327,8 @@ export async function applyProfileUpdate( { path: "email", code, - message: "Confirm your current password to change the email address.", + message: + "Confirm your current password to change the email address.", }, ]; }