add oauth flows, profile, logout page, and index page
This commit is contained in:
parent
650c93273a
commit
b0270cc98b
31 changed files with 449 additions and 162 deletions
7
imports/startup/server/accounts/on-create-user.js
Normal file
7
imports/startup/server/accounts/on-create-user.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Accounts } from 'meteor/accounts-base';
|
||||
|
||||
Accounts.onCreateUser((options, user) => {
|
||||
const userToCreate = user;
|
||||
if (options.profile) userToCreate.profile = options.profile;
|
||||
return userToCreate;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue