Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Odoo session timeout

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
2FAOnline
3 Odpowiedzi
5682 Widoki
Awatar
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
Awatar
Odrzuć
Awatar
JB
Najlepsza odpowiedź

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

Or

Try the Module :

Inactive Sessions Timeout

0
Awatar
Odrzuć
Awatar
Cybrosys Techno Solutions Pvt.Ltd
Najlepsza odpowiedź

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
Awatar
Odrzuć
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

Awatar
Ritik (Wan Buffer Services)
Najlepsza odpowiedź

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
Awatar
Odrzuć
V
Autor

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)

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Events Visibility to Different Portal Groups
saas Online
Awatar
0
sie 24
1558
Online Odoo E-shop and specific Greek taxes mydata/aade request ...
shop Online
Awatar
0
lip 24
1816
Decimals in Pricing
Odoo17 Online
Awatar
Awatar
2
cze 24
3627
Mac versus Windows Online version differences
windows macosx Online
Awatar
0
sty 25
1467
How to get Logged In user for Intercom Identity Verification
javascript website Online
Awatar
0
gru 24
1987
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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