PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-beta
Jetpack – WP Security, Backup, Speed, & Growth v16.3-beta
16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 All 507 releases
jetpack / jetpack_vendor / automattic / jetpack-account-protection / src / class-config.php

class-config.php in Jetpack – WP Security, Backup, Speed, & Growth 16.3-beta, at jetpack_vendor/automattic/jetpack-account-protection/src/class-config.php

29 lines 877 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class used to define Config.
4 *
5 * @package automattic/jetpack-account-protection
6 */
7
8 namespace Automattic\Jetpack\Account_Protection;
9
10 /**
11 * Class Config
12 */
13 class Config {
14 public const PREFIX = 'jetpack_account_protection';
15 public const SUPPORT_LINK = 'https://jetpack.com/?post_type=jetpack_support&p=324199';
16 public const RECENT_PASSWORD_HASHES_USER_META_KEY = self::PREFIX . '_recent_password_hashes';
17
18 // Password Detection Constants
19 public const PASSWORD_DETECTION_EMAIL_SENT_EXPIRATION = 600; // 10 minutes
20 public const PASSWORD_DETECTION_EMAIL_REQUEST_LIMIT = 4;
21
22 // Password Manager Constants
23 public const PASSWORD_MANAGER_RECENT_PASSWORDS_LIMIT = 10;
24
25 // Validation Service Constants
26 public const VALIDATION_SERVICE_MIN_LENGTH = 6;
27 public const VALIDATION_SERVICE_MAX_LENGTH = 150;
28 }
29