I've witnessed a UX faux pas - users are typing their correct password, then clicking the Email Magic Link button - and then not enjoying the wait while they get the login code emailed to them.
If they type a password, either button should be used to log in with password.