Meteor - React: Add custom fields to loginButtons


#1

I’m using account-ui to implement a drop-down login in meteor. The problem is that I can’t extend user sign-up and add First and Last-name fields. Meteor account ui only proposed email/username and password. Here is my code:

export default class AccountsWrapper extends Component {
        componentDidMount(){
            this.view = Blaze.render(Template.loginButtons, ReactDOM.findDOMNode(this.refs.container));
        }
        componentWillUnount(){
            Blaze.remove(this.view);
        }
        render(){
            return <span ref="container" />;
        }
    }

account-ui-desiredaccount-ui