Change the type of a password field from 'text' to 'password'