mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
chore(auth): drop the unused recovery-code schema export
This commit is contained in:
1 parent
26db4295d2
commit
c01d7f9626
2 files changed
+1
-7
No files matched your search
@@ -11,12 +11,6 @@ export const totpCodeSchema = z
|
||||
.trim()
|
||||
.regex(/^\d{6}$/, "Enter the 6-digit code from your authenticator app");
|
||||
|
||||
/**
|
||||
* A recovery code as displayed (`XXXXX-XXXXX`) — accepted case-insensitively
|
||||
* with or without the separator; the server normalises before comparing.
|
||||
*/
|
||||
export const recoveryCodeSchema = z.string().trim().min(8).max(32);
|
||||
|
||||
export const totpConfirmSchema = z.object({
|
||||
code: totpCodeSchema,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user