moosey_man1988 Posted February 7, 2016 Share Posted February 7, 2016 (edited) Hi everyone I am building a CRM system/invoicing system in my spare time and on this system I have 2 login pages (there is a reason but its long). one for the CRM system and one for the invoicing section. They bother work perfectly well but I have a really annoying issue, If I were to store the login information to chrome passwords for example to the CRM system It would auto suggest to the other login and vice versa. This wouldn't be a problem but the CRM login is username based, the invoicing section is login by email for additional security. they're both called login.php the two files are /htdocs/login.php and /htdocs/invoicing/login.php I added a remember me cookie to the CRM system in hope that this would get around the issue but unfortunately the chrome saved information over rides this, I also tried autocomplete="off" as I am using bootstrap as a framework. How can I get around this? Edited February 7, 2016 by moosey_man1988 Quote Link to comment https://forums.phpfreaks.com/topic/300748-2-login-forms-auto-complete/ Share on other sites More sharing options...
moosey_man1988 Posted February 8, 2016 Author Share Posted February 8, 2016 bump? Quote Link to comment https://forums.phpfreaks.com/topic/300748-2-login-forms-auto-complete/#findComment-1530858 Share on other sites More sharing options...
cyberRobot Posted February 8, 2016 Share Posted February 8, 2016 (edited) Are both of the username fields named the same thing? If so, try using a different name for one of the fields. Edited February 8, 2016 by cyberRobot Quote Link to comment https://forums.phpfreaks.com/topic/300748-2-login-forms-auto-complete/#findComment-1530860 Share on other sites More sharing options...
Psycho Posted February 8, 2016 Share Posted February 8, 2016 I've not tested it, but I would think having different form names would work too. Quote Link to comment https://forums.phpfreaks.com/topic/300748-2-login-forms-auto-complete/#findComment-1530875 Share on other sites More sharing options...
moosey_man1988 Posted February 9, 2016 Author Share Posted February 9, 2016 Well i have done a lot of reading since my first post apparently this is a bug in chrome which basically now ignores autcomplete=off, The fields aren't the same one is email and password the other is username and password. Its a really annoying bug, apparently according to google the user requirement for ignoring auto complete is a higher requirement than what developers want on their own pages. This is now working fine in all other browsers other than chrome Quote Link to comment https://forums.phpfreaks.com/topic/300748-2-login-forms-auto-complete/#findComment-1530906 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.