Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get chrome to prompt to save password in HTML form [duplicate]

Tags:

html

I have a simple email/password HTML form that I would like chrome to prompt to save the password. I don't know why it won't ask for it. Here is the code:

 <form name="loginForm" action="">
        E-Mail:<br><input type="email" name="email" required placeholder="E-mail"/><br>
        Password:<br><input id="pwdInputBox" type="password" name="password" required/><br>
        <input id="loginFormSubmitButton" type="button" value="Login" onclick="loginFormHandler();"/>
 </form>

Can someone help me?

like image 838
Ricardo Ferro Avatar asked Dec 25 '22 08:12

Ricardo Ferro


1 Answers

Chrome prompts to save the password only if the server certificate has no issues.

Which certificates will not make the browser prompt to save the password:

  • self-signed certificates
  • default server certificate WMSVC installed in IIS
  • certificates with expired date
like image 88
Martin Staufcik Avatar answered May 22 '23 18:05

Martin Staufcik