<?php echo CHtml::form('','post',array('autocomplete'=>'off')); ?>
Page 1 of 1
Prevent password prefill in FF
#1
Posted 29 January 2009 - 11:02 AM
Not really Yii related, but just in case someone has the same problem: My application has a page to create/update users, and to enter a password. Sadly, firefox now allways prefills the username/password fields with my stored login data. To prevent that, you can use this:
#2
Posted 29 January 2009 - 06:01 PM
I had the same problem and used the same fix, however for me it was chrome that was to vigorous and decided that my email field on the update form was the same as the username field on the login form. Never had that problem with CakePHP, not sure why.
#3
Posted 30 January 2009 - 02:48 AM
Would be interesting, after which rules they decide when to prefill. I first thought it was the name "login", that i used in my model. But even after changing that to "benutzername" (german for 'username'), still the same behaviour. It seems to have to do with the password fields.
#4
Posted 15 April 2009 - 05:59 PM
Hi,
the following mozilla page shows how to disable the autocompletion and gives also a few facts about how autocomplete form-fields are recognized: https://developer.mo..._Autocompletion
the following mozilla page shows how to disable the autocompletion and gives also a few facts about how autocomplete form-fields are recognized: https://developer.mo..._Autocompletion
Share this topic:
Page 1 of 1

Help














