Whoever thought of sending a code via email when trying to log in to a web site should be forced to spend the rest of their life doing so. There’s very few things more irritating. How did anyone see this and think, “Yeah, that’s a good user experience. All they have to do is enter their email address, click a button to send a code, switch to their email client, keep hitting refresh until the email arrives, copy the code, switch back to the browser, paste the code in and click another button. What could be easier?”. I appreciate security but there are better ways to do it.