Give the site builder control about OTP format

Created on 28 November 2024, 7 months ago

Problem/Motivation

Random string is fine in some cases, but it would be good if there is a bit more choice. Standard OTP from many sites is 6 digit numeric code for example.

Steps to reproduce

Receive an OTP

Proposed resolution

Let the site builder control with checkboxes:

  1. Include lowercase numbers
  2. Include uppercase numbers
  3. Require case insensitive exact match (conditional on lower/upper checked)
  4. Include letters
  5. Include symbols
  6. Number of characters (exists already)

Plus:

  1. Update hook to maintain status quo of all of the above checked.
  2. Kernel test to cover it.

Remaining tasks

MR

User interface changes

OTP generated as per site builder preferences

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom scott_euser

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