Fullscreen
Loading...
 
Skip to main content

Trying to login without two-factor authenticator if it is enable leads to a 500 error

Status
Closed
Subject
Trying to login without two-factor authenticator if it is enable leads to a 500 error
Version
27.x
Category
  • Error
Feature
User Administration (Registration, Login & Banning)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

On a Tiki27 I enable two-factor authenticator.
If I go to "tiki-login_scr.php?twoFactorForm" and try to log it work just fine.

If I try to log from "login" or "tiki-login_scr.php" and try to log from the displayed screen (without filling a two-factor authenticator pin) I got a 500 error.

Image Screen Recording 2024 09 21 At 9.21.25

This case should be handled more properly and in an user-friendly way.

Example:
You should be redirected to the proper login page "tiki-login_scr.php?twoFactorForm" with a remarksbox saying you need to enter a two-factor authenticator pin.

This is quite important for the feature as then can be many place that redirect you to the login page in Tiki.
Also, not all admins will think to redirect from the admin login preferences the login page to ""tiki-login_scr.php?twoFactorForm".

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8691
Created
Saturday 21 September, 2024 07:34:22 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 03 April, 2025 21:33:29 UTC


Show PHP error messages