Skip to content
Snippets Groups Projects
Commit 7f458229 authored by Benjamin Vray's avatar Benjamin Vray
Browse files

[FIX] website: remove autocomplete from inputs in page properties


Before this commit, on Chrome browser, the page url input and the
visiblity password input were autocompleted with the user's login and
password in the page properties options.

After this commit, they are no longer.

Regarding the url input page, it seems to be because Chrome considers
that the first text input located before a password input in the DOM is
a login input.

task-2502747

closes odoo/odoo#84372

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent c642be8e
Branches
Tags
No related merge requests found
......@@ -162,7 +162,8 @@
<input type="password" id="visibility_password"
t-att-value='widget.page.visibility_password'
t-att-required="widget.page.visibility == 'password' ? 'required' : None"
class="form-control show_visibility_password"/>
class="form-control show_visibility_password"
autocomplete="new-password"/>
<t t-if="widget.page.hasSingleGroup">
<div class="ml-1 input-group-prepend show_group_id">
<div class="input-group-text"><i class="fa fa-group"></i></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment