Skip to content

Add frontend validation to "Restrict membership by email" field in Group -> Settings -> General -> Permissions, LFS, 2FA

The following discussion from !35543 (merged) should be addressed:

I was thinking about a frontend validation. Now we allow these entries:

  • spaces
  • non word characters
  • no dots

Screen_Shot_2020-07-01_at_18.31.23

Perhaps copying this really basic regex from the backend as a validation for a followup would make a lot of sense: /\w*\./.