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 314
    • Issues 314
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • 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
  • #2544
Closed
Open
Issue created Jun 16, 2021 by Maxime Besson@maxbes🔧Maintainer

Default 2FA register timeout is too low

Concerned version

Version: 2.0.11

Platform: (Nginx/Apache/Node.js)

Summary

  • Configure TOTP + force 2FA at login
  • As a user, login for the first time
  • As a user, you are shown a QRCode and (hopefully) some friendly installation instructions added into the template by your local sysadmin.
  • As a user, if you take more than 2 minutes (formTimeout) to follow those instructions (including installing the TOTP app on your smartphone), 2FA registration fails.

Logs

image

Possible fixes

Improving formTimeout might not be satisfactory, we should introduce a new timeout (sfRegTimeout?) for use in both 2F::Engine::Default and 2F::Register::*

Edited Jun 16, 2021 by Maxime Besson
Assignee
Assign to
Time tracking