简体   繁体   中英

Username and Password fields automatically filled with phpMyAdmin credentials

I am facing something weird, the moment i hit my login page having a simple code in html with two input fields (username and password) shows automatically the credentials of phpMyAdmin. Here is my code..

<form action="check.php" method="post">
<input type="email" name="email" autocomplete="off" required/>
<input type="password" name="pass" autocomplete="off" required/>
<input class="input_line" type="submit"/>
</form>

i don't know why it is happening but figured out that removing the name attribute from the input field having type="password" solves the issue. please help me why this silly thing is happening. screenshot is added below.

在此处输入图片说明

I encountered the same issue and this what I did. I filled the form with the username and password I wanted and clicked the submit button,when the browser prompted me with "save or not save", I clicked save, and the issue was solved. The browser I am using is Firefox.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM