| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 33 |
| Technical Name |
disable_login_autocomplete |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/deepak-verma-07144012a |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 33 |
| Technical Name |
disable_login_autocomplete |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/deepak-verma-07144012a |
Disable Login Autocomplete
Improve login page security by disabling browser autofill, password paste, and right-click actions on the Odoo login screen.
🔒 Module Overview
This module enhances the security of the Odoo login page by preventing browsers and users from performing actions that may expose credentials.
The module modifies the login form behavior using a combination of XML view inheritance and frontend JavaScript.
- Disable browser autofill for login credentials
- Prevent password pasting in the password field
- Disable right-click on the login page
These protections help reduce risks when Odoo is accessed from shared computers, public systems, or environments where credential safety is important.
⚙️ How It Works
The module inherits the default login template and adjusts the behavior of login fields.
🔒 Disable Browser Autofill
The module updates login and password input fields to prevent browsers from automatically filling stored credentials.
autocomplete="off" autocomplete="new-password"
This reduces the chance of credentials being auto-filled by browser password managers.
🔒 Disable Password Paste
JavaScript prevents users from pasting content into the password field.
This encourages manual password entry and prevents automated credential injection.
🔒 Disable Right Click on Login Page
Right-click actions are disabled on the login page to restrict context menu operations such as copying or inspecting input fields.
This restriction only applies to the login page and does not affect the rest of the system after login.
📷 Screenshots
Login Page Security Behavior
Autocomplete and Paste Restrictions
📦 Installation
- Download the module
- Place the module inside your Odoo
addonsdirectory - Update the Apps list
- Search for Disable Login Autocomplete
- Click Install
👤 Author
Deepak Verma
Company: Deecoders
Email: dpakverma789@gmail.com
📜 License
LGPL-3
Please log in to comment on this module