You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we could add a bool to opt out of this functionality, but have it turned on by default and use our license for breaking changes to introduce this in a minor. It shouldn't be processing invalid ones already. Welcome a PR for this.
Is it possible to validate email addresses using the Go built in ParseAddress function instead of a regexp?
Looking at https://cs.opensource.google/go/go/+/master:src/net/mail/message.go shows how complex correctly validating an email address is but I can't see a way to use that function in Authboss, or any regexp in the above code that I can apply to MustMatch.
Perhaps a good solution could be to add a ValidationFunction option to Rules which takes a
func(string) bool
The text was updated successfully, but these errors were encountered: