从https://lastpass.com/support.php?cmd=showfaq&id=3385开始
While LastPass can work on most website logins,if you are develoPing your own site you can help make it LastPass-compatible by using a simple form submit with a username,password,and submit fIEld.
Here’s an example:
<form action="https://mypage.com/blah" method="post"> <input type="text" name="username" ID="username" value=""/> <input type="password" name="password" ID="password" value=""/> <input type="submit" value="LOGIN"/></form>
As far as what to avoID — always create the form on page load,even if you hIDe and show it to people clicking log in,it’s better to be there on page load. AvoID AJAX for logging in and avoID method=GET
因此,除了为控件提供名称属性之外,LastPass还建议在首次加载时在HTML中已经存在登录表单标记.这个马
总结以上是内存溢出为你收集整理的适当的HTML标记和身份验证流程是否与密码管理器兼容?全部内容,希望文章能够帮你解决适当的HTML标记和身份验证流程是否与密码管理器兼容?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)