WordPress / wporg-two-factor

2FA for WordPress.org accounts
38 stars 8 forks source link

Make sure cap user is active user. #319

Closed StevenDufresne closed 1 month ago

StevenDufresne commented 1 month ago

I think this solves an issue with displaying the get_enable_2fa_notice in the support forums. It is being displayed because it's running for every user included in the forum table. Run it only for current user.