Last active
January 4, 2022 17:50
-
-
Save ak00001/40313f695a49f954b1f11ff004c1c86c to your computer and use it in GitHub Desktop.
A YAML plugin for Tutor which restricts registration by email domain.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: allowedemail | |
version: 0.0.1 | |
patches: | |
common-env-features: | | |
# restrict registration by email pattern | |
"REGISTRATION_EMAIL_PATTERNS_ALLOWED" = ["^.*@(.*\\.)?example\\.com$", "(^\\w+\\.\\w+)@school\\.tld$"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment