-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
Was working on setting up a semi-private gitea site that limited registration to just the main Government of Canada(GC) email domains. There are primarily two email TL domains associated with the GC, *.gc.ca and canada.ca.
A full list of .gc domains can be seen here.
When I tried to use a wildcard address in EMAIL_DOMAIN_WHITELIST I noticed that the * wildcard was not supported.
So I am requesting wildcard support in EMAIL_DOMAIN_WHITELIST. I have done some experimenting to see if and how this could be done.
https://go.dev/play/p/A7bV1R2g9jh
Unfortunatley I'm not a strong golan coder, so my pullrequest will probably not pass your QC and testing
Screenshots
No response
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.