you can’t fully prevent browsers from offering to save passwords, but you can strongly discourage it in your login form with the correct HTML attributes and form setup.