Welcome Guest, Not a member yet? Register   Sign In
unusual admin password population
#1

Hi,

Is there anyone out there who experienced auto population of the word "admin" in the phone and password field? I don't remember putting it there.

Please see attachment.

Codeigniter 3.0.2
Ion Auth
Twitterbootstrap

Attached Files Thumbnail(s)
   
Reply
#2

The labels you put may be "Phone" and "Password", but I'm guessing the actual field names are "username" and "password" ... Modern browsers will almost always populate fields named "username", and if you've enabled the "remember passwords" options - they'd populate password fields too.
Reply
#3

Thanks Narf.

The field name is phone.
When this happens I just add another input field before the password field. Because I noticed it automatically adds "admin" on the value of the input field before password. Whatever I do as long as its before the password, it makes the value of that field to "admin".

<input id="phone" class="form-control" type="text" value="" name="phone">
<input id="test" class="form-control" type="text" value="admin" name="test">
<input id="password" class="form-control" type="password" value="" name="password">

Just wonder why its happening.
Reply
#4

You have the "value" set in the field, that's probably why.

Setting the value attribute on a text field will populate that value into the field. So remove:

Code:
value="admin"

from the field.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB