草庐IT

restrictCreationByEmailDomain

全部标签

javascript - meteor 的 restrictCreationByEmailDomain 选项如何工作?

我刚刚阅读了meteor的帐户配置选项,“restrictCreationByEmailDomain”选项很棒Accounts.config({restrictCreationByEmailDomain:'school.edu'})我想知道我能否使用以逗号或数组分隔的域列表来代替“school.edu”有meteor账户系统的简单教程吗?请帮忙 最佳答案 restrictCreationByEmailDomainStringOrFunctionIfset,onlyallownewuserswithanemailinthespecif