All files / app/features/auth/verification constants.ts

100% Statements 10/10
100% Branches 0/0
100% Functions 0/0
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10      17x 17x   22x 21x 2x  
// Mirrors the backend constants of the same names in
// app/backend/src/couchers/constants.py. Keep the two in sync: these only feed
// explanatory copy, so a stale value misleads rather than breaks anything.
export const GALLERY_MAX_PHOTOS_NOT_VERIFIED = 2;
export const GALLERY_MAX_PHOTOS_VERIFIED = 5;
 
export const POSTAL_VERIFICATION_CODE_LENGTH = 6;
export const POSTAL_VERIFICATION_MAX_ATTEMPTS = 5;
export const POSTAL_VERIFICATION_CODE_LIFETIME_DAYS = 90;