Set up a custom login system with Meteor for my app, and if I enter a correct email, I can use ANY password. I really hope I implemented something wrong, because I don’t want to switch languages. Code snippet below:
You’ve done something strange in your code, but it doesn’t explain being able to login with the wrong password.
In the first Meteor.loginWithPassword call you have the following in the callback:
Can you try opening a new browser window in incognito mode. Try the whole thing again.
Your login attempt should fail and console.log the error reason.
I would hazard a guess that since you were incorrectly using the email value for the password during the loginWithPassword call, that you were also doing the same during the createUser process.
Meaning it doesn’t matter what the password value was as it is never used, hence you do not see an error.