2FA cannot generate QR code

2FA cannot generate QR code.
Click on ‘Generate TwoFactor Secret Key’ and jump to the root page.

When asking for help and support, please provide as much information as possible. This should include:

  • Steps to reproduce an issue.
  • The output of ./validate.php
Component | Version
--------- | -------
LibreNMS  | 23.1.0-19-gaa033ec3c (2023-02-02T05:07:59-08: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.11-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1

[OK]    Composer Version: 2.5.1
[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

If it’s an issue with the WebUI then please consider including a screenshot and the browser version you are using.
-----> All browsers, Chrome and firefox latest version.

Thanks guys