Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 117 |
Technical Name |
odoo_secure_cookies_support |
License | LGPL-3 |
Website | https://opsway.com |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 117 |
Technical Name |
odoo_secure_cookies_support |
License | LGPL-3 |
Website | https://opsway.com |
Versions | 17.0 18.0 |
Secure Cookies Support
Adds the Secure flag to every session and CSRF cookie served by Odoo, so cookies are only transmitted over HTTPS, helping you meet modern browser and regulatory security requirements.
Usage
- Make sure your Odoo instance is reachable via
https://
. - Go to Settings / Technical / System Parameters.
- Create or update the parameter
secure_cookies
and set its value to1
to enable secure cookies. - (Optional) Change the value to
0
to disable the feature.
Tip:
Users may need to clear their browser cookies after the change so the
Secure
attribute is applied to session cookies.
Please log in to comment on this module