Skip to content

[hotfix] handle signal verification codes with or without hyphens

feed back requested to merge hf-fix-regex-for-verification-codes into main

context

  • signal verification codes now somtimes omit the dash between the first and last 3 digits of the code
  • our regex for parsing such codes expected a dash always, and thus calls to verify now timeout (since they never match on a code when the dash is excluded)

changes

  • this modifies our verification code regex to match on codes that contain or or omit the hyphen, restoring functionality to verify
Edited by aguestuser

Merge request reports