Hi guys and Stacker.news Developers, I attempted to link my e-mail to my account but it sends a log in link, and when I click it, it takes me to a different and new account. I attempted this twice. Thanks, AJ
I just did it and it works as expected for me.
I assume you're trying to link it to AJ1992. What's the new account it creates for you? Feel free to DM me on telegram if you don't want to say publicly.
Here's the code that does this ... It only allows the email linking to the account you're signed into, and if that email is attached to another account, it fails with 'email taken'.
linkUnverifiedEmail: async (parent, { email }, { models, me }) => { if (!me) { throw new AuthenticationError('you must be logged in') } try { await models.user.update({ where: { id: me.id }, data: { email } }) } catch (error) { if (error.code === 'P2002') { throw new UserInputError('email taken') } throw error } return true }
reply
hmm..i'll try again..
reply
I’ll double check this. Thanks for reporting
reply
I'm having the same issue. My account is @andre. I've been inactive as of recent