Login without password

It is possible to use the current login form to login without password? I want users to be able to login with a card. That card has a code inside that will be use to login. If they do not have the card, they will login with user and password.
Was this page helpful?