If you open login form and link on different devices, you'll get code to type, no need to send link.
So basically you start login on phone, keep page open. Open laptop, click on link on laptop and you'll get a code. You type that code on your phone and that's all.