ianmartorell / meteor-accounts-ui-bootstrap-3

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

Signups forbidden when used with orion #156

Closed Madsn closed 9 years ago

Madsn commented 9 years ago

I'm unable to register new accounts through accounts-ui-bootstrap-3 after adding orion to my project.

I've tried recreating the issue in a clean project, and here is what I'm seeing:

I know this seems very orion specific, and it might be an issue with orion or simply some incompatibility between this package and orion, but I'm hoping you might have an idea of what the issue is. Let me know if I should try creating an issue in the orion repo instead.

ianmartorell commented 9 years ago

I don't know what it could be, but it sounds like Accounts.config({ forbidClientAccountCreation: true}) is being called somewhere. I don't know how Orion works so I can't tell, but maybe that option that you set didn't work properly or load early enough. I have no idea.

If you're getting the signup fields in the UI but an error message in the console, that means Accounts.config was only called on the server. Or maybe it was called with forbidClientAccountCreation: false on both and then with forbidClientAccountCreation: true on the client only. Hope that helps.

Madsn commented 9 years ago

Thank you very much for taking a look @ianmartorell, and for the fast reply. I'm not getting any errors in the console, so I don't think it's because the setting is true on the client only.

As you can see, I've created an issue in the orion repo, so hopefully they will be able to tell if it's an issue in orion.

ianmartorell commented 9 years ago

Feel free to reopen this issue if it's related to this package