Skip to content

Commit

Permalink
Pull in key name copies when no access otherwise
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Sep 18, 2024
1 parent 8d1972f commit f4d463d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion providers/class-two-factor-fido-u2f.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public static function uninstall_user_meta_keys() {
return array(
self::REGISTERED_KEY_USER_META_KEY,
self::AUTH_DATA_USER_META_KEY,
Two_Factor_FIDO_U2F_Admin::REGISTER_DATA_USER_META_KEY,
'_two_factor_fido_u2f_register_request', // From Two_Factor_FIDO_U2F_Admin which is not loaded during uninstall.
);
}
}
2 changes: 2 additions & 0 deletions providers/class-two-factor-provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public static function uninstall_user_meta_keys() {
/**
* Return the option keys that need to be deleted on plugin uninstall.
*
* Note: this method doesn't have access to the instantiated provider object.
*
* @return array
*/
public static function uninstall_options() {
Expand Down

0 comments on commit f4d463d

Please sign in to comment.