Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Odoo session timeout

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
2FAOnline
3 Antwoorden
5671 Weergaven
Avatar
V

Hello everyone.

I want to enforce multi-factor authentication for all users in my database. 

Users are configuring the 2FA but then saving the login on their browsers. This defeats the purpose of multi-factor authentication and is raising concerns with IT auditors.

Is there a way to enforce a session timeout so that every time they have to login, they will have to go through the 2FA?

Thank you for your help.

1
Avatar
Annuleer
Avatar
JB
Beste antwoord

adding session_lifetime = 3600 in the configuration file (value in seconds)

Or

Try the Module :

Inactive Sessions Timeout

0
Avatar
Annuleer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord

Hi,

Please refer to the modules:

1. https://apps.odoo.com/apps/modules/18.0/auto_logout_idle_user_odoo

2. https://odoo-community.org/shop/inactive-sessions-timeout-544#attr=942899


Hope it helps.

0
Avatar
Annuleer
Josep Anton Belchi Riera

Another module for this functionality.
https://apps.odoo.com/apps/modules/18.0/auth_session_timeout
https://github.com/OCA/server-auth/tree/18.0/auth_session_timeout

Avatar
Ritik (Wan Buffer Services)
Beste antwoord

Implementing session timeouts in Odoo enhances security by ensuring users are logged out after periods of inactivity, thereby reinforcing multi-factor authentication (MFA) protocols. To configure session timeouts in Odoo, consider the following approaches:​

1. Adjust Odoo Configuration Settings:

Modify the session_gc parameter in the Odoo configuration file (odoo.conf) to define the session expiration period. For example, setting session_gc = 3600 will expire sessions after one hour of inactivity. After making this change, restart the Odoo server to apply the new settings. ​

2. Utilize Third-Party Modules:

Several modules are available to manage session timeouts:​

  • Inactive Sessions Timeout: This module allows you to set a specific duration for session validity. After the defined period of inactivity, users are automatically logged out. You can configure the session timeout by setting the inactive_session_time_out_delay parameter, which defines the validity of a session in seconds (default is 2 hours). ​
  • Activity Session Timeout: This module enables automatic logout of inactive users after a specified time. The default session timeout is 5 minutes, but it can be adjusted by modifying the activity_session_timeout_key parameter in the system settings. 

3. Implement Custom Development:

If existing modules do not meet your specific requirements, custom development can be undertaken to create a tailored session timeout mechanism. This approach allows for precise control over session management, aligning with your organization's security policies.​

At Wan Buffer Services, we have extensive experience in customizing Odoo to enhance security measures, including implementing session timeouts to ensure compliance with IT audit requirements.

0
Avatar
Annuleer
V
Auteur

Hello Ritik,
thank you for your answer.
Please note that the database is hosted online (enterprise). Can this be done on Odoo online?

Josep Anton Belchi Riera

Hello V,
It is not possible to modify the configuration file "odoo.conf", or install modules in Odoo Saas, unless it is Odoo.sh.

JB

adding session_lifetime = 3600 in the configuration file (value in seconds)

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Events Visibility to Different Portal Groups
saas Online
Avatar
0
aug. 24
1558
Online Odoo E-shop and specific Greek taxes mydata/aade request ...
shop Online
Avatar
0
jul. 24
1814
Decimals in Pricing
Odoo17 Online
Avatar
Avatar
2
jun. 24
3627
Mac versus Windows Online version differences
windows macosx Online
Avatar
0
jan. 25
1467
How to get Logged In user for Intercom Identity Verification
javascript website Online
Avatar
0
dec. 24
1986
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now