Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Email Pattern Match marks my good email as 'bad' #28

@audioboxer217

Description

@audioboxer217

My company domain is 'coda.global' and thus my actual email is an @coda.global address. This fails the email validation due to the {2,4} regex in the 'pattern'.

Lines 59-61 in sow/setup.coffee:

email:
  pattern: /^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$/i,
  message: 'Subdomain must be only letters or numbers.',

I can try to find some time to fork, update, and submit a PR myself for this if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions