Page MenuHomePhabricator

Store and display 2FA enrollment timestamp
Open, Needs TriagePublic

Description

It'd be useful to store the enrollment timestamp, and be able to display this to the user.

The database column oathauth_devices.oad_created was added (primarily) as part of T242031: Allow multiple different 2FA devices. This field is currently not written to, or read by the extension.

Event Timeline

Schema change to add a column for this, defaulting to NULL is being done as part of T242031: Allow multiple different 2FA devices.

Change 873892 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/OATHAuth@master] Database-level support for multiple auth devices

https://gerrit.wikimedia.org/r/873892

Change 873892 merged by jenkins-bot:

[mediawiki/extensions/OATHAuth@master] Database-level support for multiple auth devices

https://gerrit.wikimedia.org/r/873892

Reedy renamed this task from Include enrollment timestamp in oathauth_users.data to Store 2FA enrollment timestamp.Nov 20 2023, 9:59 PM
Reedy renamed this task from Store 2FA enrollment timestamp to Store and display 2FA enrollment timestamp.
Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)

Change 989969 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/OATHAuth@master] OATHUserRepository: Start storing enrollment timestamp

https://gerrit.wikimedia.org/r/989969