ianmartorell / meteor-accounts-ui-bootstrap-3

accounts-ui package with Bootstrap 3 and localization support
150 stars 109 forks source link

PR: adds onCreate callback #187

Closed dpankros closed 8 years ago

dpankros commented 8 years ago

This pull request adds onCreate to the configuration so that user creation may be overridden. I have an app where the base signup provided was inadequate so this allows you to (optionally) call out to a separate function and show a "create user" page(s).

BTW, the diff for login_buttons_dropdown.js makes it seem more complex than it is. There are really only 5 lines ADDED and one line of comments. All the supposed deletions are just wrapped within an if block (see the big addition at the end).

Questions & comments welcome.

ianmartorell commented 8 years ago

Looks pretty good to me :)