Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

148 B
Raw Blame
export const spaceOTPCodeLength = 6;

export const sanitizeSpaceOTP = (value: string) =>
    value.replace(/\D/g, "").slice(0, spaceOTPCodeLength);