mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
style(auth): format the re-proof and profile-update helpers
This commit is contained in:
1 parent
2139b49c47
commit
b10072b85e
2 files changed
+4
-2
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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.",
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user