chmpdog Posted June 2, 2010 Share Posted June 2, 2010 When I try to login unsuccessfully the browser asks if I wish to save my password (as if I had logged in successfully) even though it was incorrect. How can I protect against this? Link to comment https://forums.phpfreaks.com/topic/203665-thinks-i-logged-in/ Share on other sites More sharing options...
hcdarkmage Posted June 2, 2010 Share Posted June 2, 2010 that is a browser issue. I doubt there is anything you can do on your site itself to stop that from happening. EDIT: You could just select the "Never For This Site" Button. Link to comment https://forums.phpfreaks.com/topic/203665-thinks-i-logged-in/#findComment-1066788 Share on other sites More sharing options...
jd307 Posted June 3, 2010 Share Posted June 3, 2010 As hcdarkmage has already stated, this is a browser thing. Everytime you set up a form that has a 'username' and 'password' field on it, the browser will try and be helpful by storing your details... in fact it may only require the 'password' field for this (I am not sure). If you enter correct or incorrect details, the browser never actually knows if this information is vaild or not, it will store it anyway (if you select yes) and then will overwrite this data when you change what you enter (again if you select yes). To stop this window being displayed to users of your site is probably not possible as it is a browser based function and not one that we have control over. There may be a very, very slim chance that JavaScript can do something about it... but I would doubt it very much. Link to comment https://forums.phpfreaks.com/topic/203665-thinks-i-logged-in/#findComment-1066984 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.