Bug when logging in with 2FA and verifying the code

  1. Generated security module.
  2. Login as user and the activate 2FA by clicking on the Authentication under Security.
  3. Scan the QR code and activate.
    4 . Logoff and try logging in

After login the code is requested. If invalid coded entered I get the message that is was not correct

When entering the correct code I get error message : Fatal error: Uncaught Error: Call to undefined function sc_logged() … scriptcase\app\Security\sec_control_2fa\sec_control_2fa_apl.php:3217 Stack trace