nicferrier / marmalade

Nic's clone of nex3's original marmalade. Nic is maintaining this now and updating this repo.
http://marmalade-repo.org
GNU General Public License v3.0
32 stars 8 forks source link

Can't merge marmalade accounts #39

Closed Wilfred closed 9 years ago

Wilfred commented 11 years ago

I received an email looking like this:

You're receiving this email because you have multiple Marmalade accounts registered to this email address that need to be merged together. Please choose your preferred account and follow the link:

The 'undefined' issue is #30, but visiting the URL (namely http://marmalade-repo.org/profiles/Wilfred/merge?t=token-here) still doesn't work. It just redirects me to the home page with "No users exist with email yowilfred@gmail.com".

Hitting the URL a second time gives:

Express
500 TypeError: Cannot read property 'mergeToken' of null

    at Function. (/home/vagrant/node_modules/marmalade/lib/backend.js:1145:19)
    at next (/home/vagrant/node_modules/marmalade/node_modules/step/lib/step.js:51:23)
    at /home/vagrant/node_modules/marmalade/lib/backend.js:1241:13
    at Object.callback (/home/vagrant/node_modules/marmalade/node_modules/mongodb/lib/mongodb/db.js:533:5)
    at Array.0 (/home/vagrant/node_modules/marmalade/node_modules/mongodb/lib/mongodb/connection/server.js:197:36)
    at EventEmitter._tickCallback (node.js:192:40)
Wilfred commented 11 years ago

Attempting to reset the password again now gives me 'no users exist with email yowilfred@gmail.com'.

Wilfred commented 11 years ago

Oddly, I'm now able to create a new account with the username 'wilfred'.

nicferrier commented 9 years ago

Were there any issues left with this? Can I close this?

Wilfred commented 9 years ago

Thanks for following up! :)

This probably isn't relevant to the new maramalade. In any case, there doesn't seem to be register or password reset functionality, so I think it's a moot point.

nicferrier commented 9 years ago

There is. But it's not open. The idea is we'll go to a peer to peer system of trust inviting people in to maintain packages into marmalade.

So if you want an account right now you ask me. I can then grant access to create new users to other users. This hasn't happened yet.

But it seems to me this is a better model for something where you want a high level of trust over the code that gets on your computer. More than that, in one of the most trusted parts of your computer.