WordPress / two-factor

Two-Factor Authentication for WordPress.
https://wordpress.org/plugins/two-factor/
GNU General Public License v2.0
724 stars 151 forks source link

Backup Codes: Always generate 10 codes via REST #514

Closed iandunn closed 1 year ago

iandunn commented 1 year ago

The internal function accepts a param for flexibility, but currently there's no use case for letting the user choose how many they want.

This should be included in the same release as #504, since it was introduced there.

Props @xknown See https://github.com/WordPress/wporg-two-factor/issues/3

iandunn commented 1 year ago

I'll fix the tests.

We should probably remove the append ability as well, I'll look into that.