How to change email login to phone login

Hi, I want to allow customers to use their phone number as a unique ID when logging in.
But I don’t know how should I do that (: