Red text looks like an error message after logging in with new user/password just fine
Closed this issue · 16 comments
If I use my meteor app as an anonymous user, everything works fine. It's great!
Then I log in with a new account using username and password (*) (via accounts-ui and accounts-password)
I get an apparent error message in the popup below [Change password] and [Sign out] buttons
"New login not needed. Service will be added to logged in user."
Everything seems to work fine, but the red text feels like an error message that probably shouldn't be there.
(*) This error message only appears if I create an account using username and password, not Twitter Oauth, for example (via accounts-twitter)
Thanks for the report. This issue is caused by meteor/meteor#5110 which I just opened. I have an idea for a workaround and will try to get it implemented in the next couple days.
Great! I'm subscribed to meteor/meteor#5110 now.
Perfect; it works beautifully. Thank you!
What accounts UI package(s) and version(s) are you using?
useraccounts:core 1.12.4
useraccounts:semantic-ui 1.12.4
I just confirmed that the demo works for me with Semantic UI. It's on the semantic-ui
branch of the demo repo. To confirm that also works for you, please:
$ git clone git@github.com:brettle/meteor-accounts-deluxe-demo.git
$ cd meteor-accounts-deluxe-demo
$ git checkout semantic-ui
$ meteor
Then visit http://localhost:3000, change the dropdown to useraccounts
, and try to reproduce the problem or try to figure out what's different about your app/environment.
Hope that helps. Let me know what you find.
I added useraccounts:iron-routing package and removed my custom route.
It's works !
@brettle Thank you.
Glad to hear you got it working. You were probably running into brettle/meteor-accounts-add-service#4.
I'm getting this behaviour when using kadira:flow-router with the useraccounts:flow-routing package. Do you have a working example that uses Flow Router?
I don't have a working example with Flow Router. If you can point me to a repo containing a minimal app that reproduces the problem, I'll take a look.
I just created a working example with flow-routing and it doesn't seem to have the problem you are describing.
git clone --branch flow-routing https://github.com/brettle/meteor-accounts-deluxe-demo.git
cd meteor-accounts-deluxe-demo
meteor
Just tried your branch, and I'm experiencing the same behaviour. It only occurs with the useraccounts flow, not accounts-ui.
My bad. I see it now. I'd forgotten that the problem only occurred when creating a password user. I'd been testing with oauth users. Anyway, I'm looking into it.