When I click on the “Generate TwoFactor Secret Key” (for TOTP) button for my user, it redirects to the main page without showing anything. Looking at the browser’s network traffic, I see this post, but no errors.
Request URL: http://<>/2fa/add
Request Method: POST
Status Code: 302 Found
Remote Address:<>
Referrer Policy:strict-origin-when-cross-origin
Followed by a get to the home page. No QR code displays there. Global Settings > Authentication Two-Factor is on, and the throttle time is set to 300. Other than that, I haven’t changed anything else there. Any suggestions?
Validate output:
===========================================
Component | Version
--------- | -------
LibreNMS | 23.2.0-3-gc0fd1e15e (2023-02-24T06:10:10-06:00)
DB Schema | 2022_09_03_091314_update_ports_adsl_table_with_defaults (248)
PHP | 8.1.2-1ubuntu2.10
Python | 3.10.6
Database | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool | 1.7.2
SNMP | 5.9.1
===========================================
[OK] Composer Version: 2.5.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok