浏览器为什么不要求记住密码? [英] Why isn't the browser asking to remember the password?

查看:86
本文介绍了浏览器为什么不要求记住密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您需要在登录表单上做什么,以便浏览器提示记住登录信息?我有一个名为用户名"的输入和一个名为密码"的输入.

What do you need to do on a login form so that the browser prompts to remember the login information? I have a input named "username" and one named "password".

在我的浏览器上,我设置为询问它是否应该记住密码,并且在大多数站点上都可以使用,但是在我测试的站点上却没有,所以我想知道可以进行哪些更改以使其记住.

on my browser i have it set to ask if it should remember the password, and it does on most sites, but on the site that i am testing it doesnt, so i am wondering what can be changed to make it remember.

我还在密码字段中使用了type = password,它可以正常登录,但是Firefox和Safari都不想记住它.这不是一个大问题,但是很容易弄清楚

i am also using the type=password for the password field, and it logs in fine and everything, but neither firefox, or safari want to remember it. it is not a huge problem, but it would be nice to figure out

谢谢

这是表格:

<form id="login" method="post" action="/login.php">
<div class="cell">

<div class="left">Username: </div>
<div class="right">
<input type="text" id="username" name="username"> 
</div>

<div class="left">Password: </div>
<div class="right">
<input type="password" id="password" name="password">

推荐答案

请确保您输入的是type="password".如果其类型为文本,则将无法使用.

Make sure your input is type="password". If its type is text, it won't work.

这篇关于浏览器为什么不要求记住密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆