Closed SeeThruHead closed 9 years ago
@deontologician any ideas?
I got the same message when trying to login with the username instead of the email address. With the email it works fine, even with node 4.1.1.
I don't have any ideas currently, but I will look into it when I get some time
I just fixed it via https://github.com/rethinkdb/rethinkdb-example-nodejs-chat/commit/980e8375a6dbbf3a858885c6002540a6dacecc24.
Note that the app right now allows registering duplicate users (since it doesn't use login as the primary key). Once we fix that, we can simply call .get
instead of .getAll/.filter
and avoid cursors all together. I didn't have time to do that though, so I just handled the case when the cursor is empty.