Cleaned up the copied project & got the Google authentication working. A lot of work still needs to be done to add content and allow only certain users access.

This commit is contained in:
2022-03-09 07:55:26 -08:00
parent c61ca6b32e
commit 9e0e231152
16 changed files with 257 additions and 448 deletions

View File

@@ -1,5 +1,11 @@
import { Accounts } from 'meteor/accounts-base';
import { Accounts } from 'meteor/accounts-base'
Accounts.ui.config({
passwordSignupFields: 'USERNAME_ONLY'
});
});
Accounts.config({
restrictCreationByEmailDomain: function(address) {
return new RegExp('.*@avpanthers.org$', 'i').test(address)
}
});