Closed gr2m closed 10 years ago
@caolan could you look into this please. It's a hard to catch issue for people looking into hoodie right now, and fix is rather simple I think?
I didn't realize we had anything other than 'user' for type apart from password resets. This seems like a totally sensible change though.
yeah, fyi: we differentiate between two user types:
hoodie.account.signUp
)hoodie.account.aonnymousSignUp
)For example, hoodie.task.start()
is doing hoodie.account.aonnymousSignUp
internally to make sure that the tasks get picked up by a server, the user doesn't even realize that his/her data is now being synched. If the user runs hoodie.account.signUp
later on, it's internally a user rename, from something like user_anonymous/abc4567
to user/joe@example.com
.
Makes sense?
ah, the magic behind hoodie ;)
to fix do https://github.com/gr2m/hoodie-plugin-users/commit/6d436852cb0bdb9a211bdc424d840ca7c09de9e9