You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6d70339
Browse filesBrowse the repository at this point in the historyBrowse files
if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
2676
+
return;
2677
+
}
2678
+
2679
+
$content =
2680
+
'<p class="privacy-policy-tutorial">'
2681
+
. __( 'The Two Factor plugin stores authentication data for your account on this website to verify your identity at login. No data is transmitted to third parties. The suggested text below covers what is stored, why, and for how long.', 'two-factor' )
. __( 'To protect your account we store the following personal data:', 'two-factor' )
2687
+
. '</p>'
2688
+
. '<ul>'
2689
+
. '<li>' . __( '<strong>TOTP secret key</strong> – a unique cryptographic secret generated when you set up an authenticator app. It is stored in your user profile.', 'two-factor' ) . '</li>'
2690
+
. '<li>' . __( '<strong>Backup codes</strong> – a set of one-time-use codes you can store offline. Hashed copies are kept in your user profile until they are used or regenerated.', 'two-factor' ) . '</li>'
2691
+
. '<li>' . __( '<strong>Email provider verification data</strong> – when the email provider is enabled, the plugin uses the email address already stored in your WordPress account to send a one-time login code. To validate the code, a hashed token and a timestamp are stored temporarily in your user profile metadata. The code itself is not stored.', 'two-factor' ) . '</li>'
2692
+
. '<li>' . __( '<strong>Enabled providers list</strong> – a record of which two-factor methods you have activated (e.g. TOTP, email, backup codes) is stored in your user profile.', 'two-factor' ) . '</li>'
2693
+
. '</ul>'
2694
+
2695
+
. '<h3>' . __( 'Who we share your data with', 'two-factor' ) . '</h3>'
2696
+
. '<p>'
2697
+
. __( 'Two-factor authentication data is never shared with or transmitted to any third party. All data remains on this website.', 'two-factor' )
2698
+
. '</p>'
2699
+
2700
+
. '<h3>' . __( 'How long we retain your data', 'two-factor' ) . '</h3>'
2701
+
. '<p>'
2702
+
. __( 'Authentication data (secret keys, backup codes, provider settings) is retained for as long as your user account exists. It is deleted automatically when your account is removed.', 'two-factor' )
0 commit comments