Fix OTP Expiration Timer Display on Initial Load

Created on 16 July 2025, 14 days ago

Problem/Motivation

The OTP login form currently displays a hardcoded expiration timer (00:01) in the description field on initial load. This does not reflect the actual OTP expiration duration (e.g., 2 minutes), which can confuse users.

Steps to reproduce

  1. Trigger the OTP form (e.g., login with email).
  2. Observe the message: Resend OTP in: 00:01, even though the OTP is valid for 2 minutes.
  3. Refresh the form – correct timer is shown due to updated value from tempstore and time sync.

Proposed resolution

— (To be determined)

Remaining tasks

  • Investigate why the OTP timer is not reflecting the configured expiration duration initially.
  • Update the form description to reflect actual expiration time dynamically.
  • Test with new OTP generation and ensure timer is accurate on initial load.
  • Create PR and link to this ticket.

User interface changes

OTP description text will show an accurate countdown timer instead of a hardcoded value.

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India immaculatexavier

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024