- Issue created by @arousseau
The "email_login_otp" and "otp_settings" tables do not have a primary key, which causes an error to appear in the status report.
Add a primary key to those table definitions inside email_login_otp_schema()
and write a hook_update_N() implementation to add those keys to existing installs.
Here is a patch which does this.
As far as I can tell from reading through the code the composite key of "uid,otp" should be unique.
Active
1.1
Code