Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Disable Login Autocomplete for user name

todd_guerra
Level 2
Level 2

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!

1 Accepted Solution
Sham_HC
Correct answer by
Level 10
Level 10

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

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

View solution in original post

0 Replies
todd_guerra
Level 2
Level 2

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 5
Level 5

Todd,

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

Yogesh

Sham_HC
Correct answer by
Level 10
Level 10

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

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

todd_guerra
Level 2
Level 2

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.