CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
201 stars 38 forks source link

Disabling 2FA doesn't work #1116

Open BroOtti opened 3 weeks ago

BroOtti commented 3 weeks ago

Bug Report

System Information

┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key                  ┃ Value                                 ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System     ┃ Linux - Debian GNU/Linux 12 on x86_64 ┃
┃ Product              ┃ AMP 'Callisto' v2.5.0.12 (Mainline)   ┃
┃ Virtualization       ┃ ProxmoxLXC                            ┃
┃ Application          ┃ Application Deployment                ┃
┃ Module               ┃ ADSModule                             ┃
┃ Running in Container ┃ No                                    ┃
┃ Current State        ┃ Indeterminate                         ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Build Date 31/05/2024 14:46 Google Chrome Version 125.0.6422.142 (Offizieller Build) (64-Bit)

I confirm:

Symptoms

As a superadmin user I can't even enter my password as the input field disappears: image PS: After I looked again at the screen the field was there again and I could disable 2FA... But trying to setup 2FA again got the same problem xD Maybe I get luck and the field will just appear again :)

I couldn't see any error in browser console and clearing browser cache didn't help. I also tried incognito mode with chrome. Haven't tried with another browser yet.

For some reason display is set to none: image Maybe because I also have a passkey for the account?

Reproduction

  1. Login to an user with 2FA enabled.
  2. Click on your name in the upper left to open your profile page.
  3. Click on the button Disable 2FA and experience problems.
BroOtti commented 3 weeks ago

Interesting, as I logged in back to the normal user, 2FA is disabled. So properly just a wrong message as the gui didn't registered that 2FA was disabled? But trying to enable 2FA again is missing the input field again as display is set to none.