Closed kbrown closed 7 years ago
I'm having to modify policy.js or recreate setupCognito if I want a different behavior. I'd like to be able to pass in the features to enable in an array.
const setupCognito = (store, config) => { store.dispatch(Action.configure(config)); enable(store, direct); //enable(store, emailVerificationRequired); enable(store, identityPoolLogin); };
merged
I'm having to modify policy.js or recreate setupCognito if I want a different behavior. I'd like to be able to pass in the features to enable in an array.
const setupCognito = (store, config) => { store.dispatch(Action.configure(config)); enable(store, direct); //enable(store, emailVerificationRequired); enable(store, identityPoolLogin); };