Disable Login Autocomplete for user name | Community
Skip to main content
todd_guerra
Level 2
October 16, 2015
Solved

Disable Login Autocomplete for user name

  • October 16, 2015
  • 4 replies
  • 1216 views

We've extended the OOTB login component just to adjust the markup for styling purposes. Otherwise, it is OOTB CQ login functionality on publish. 

I have added autocomplete="off" to both the input and the form, yet the browser is not respecting that. 

Is there something else I need to change in CQ to fully turn off autocomplete for form elements?

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Are you sure you are doing at [1] ?  Which version of aem.

[1]   /libs/granite/core/components/login/login.jsp

4 replies

todd_guerra
Level 2
October 16, 2015

Update: it looks like it's CQ storing the info, I've hit it in incognito/private mode and it's still remembering form data. 

Yogesh_Upadhyay
Level 6
October 16, 2015

Todd,

 autocomplete="off" should work. Can you make sure using firebug that there is no other CSS overriding this behavior ?

Yogesh

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Are you sure you are doing at [1] ?  Which version of aem.

[1]   /libs/granite/core/components/login/login.jsp

todd_guerra
Level 2
October 16, 2015

Ended up being that it WAS working, only the previously stored info was there still there. Had to completely clear my browser private info to get it to go away.