Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lemonldap-ng lemonldap-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 327
    • Issues 327
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NGLemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #2757
Closed
Open
Issue created May 25, 2022 by Maxime Besson@maxbes🔧Maintainer

Allow admins to change the 2FA timeout

Summary

Currently, users have formTimeout seconds to fill the 2FA challenge

in Mail2F this can be overriden with mail2fTimeout. But this setting does not affect TOTP, WebAuthn, etc... which require significant user interaction too

Design proposition

Add a global sfLoginTimeout that applies to all 2F types (Main::SecondFactor):

$ott->timeout( $_[0]->{conf}->{sfLoginTimeout} || $_[0]->{conf}->{formTimeout} );
Assignee
Assign to
Time tracking