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:
@@ -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)
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user