Unable to generate TwoFactor Secret Key 2FA

Hello! I would like to activate 2FA to an admin account
I am encountering the same problem as described in that thread

General auth settings are ok

And when I go to Generate Two factor Secret key ( both TOTP and HTOPT) I’m redirected to base url, this is the http response:

POST payload:

_token: qF****************************zLDlIJ17
twofactortype: counter

Nothing strange in librenms.log, browserlog says flasher not loaded but I don’t think it’s related.
I have installed the debug toolbar for laravel, but I can’t find how to debug it, if someone can help me and we can find out where the problem is.

I can confirm de same behaviour at other installation that I manage :

Version 22.11.0 - Sat Nov 26 2022 17:55:27 GMT+0100
Database Schema 2022_09_03_091314_update_ports_adsl_table_with_defaults (248)

Thanks you!

Component | Version
--------- | -------
LibreNMS  | 24.1.0-42-g0b8413ed9 (2024-01-19T16:14:29+01:00)
DB Schema | 2023_12_12_171400_alert_rule_note (277)
PHP       | 8.1.2-1ubuntu2.14
Python    | 3.10.12
Database  | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1

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


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.