2022-04-02 10:26:41 +02:00
|
|
|
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
|
2019-11-15 23:26:29 +01:00
|
|
|
/**
|
|
|
|
|
* Module Name: Secure Sign On
|
2025-07-27 19:58:08 +02:00
|
|
|
* Module Description: Let users log in with their WordPress.com account for quick, secure access.
|
2019-11-15 23:26:29 +01:00
|
|
|
* Sort Order: 30
|
|
|
|
|
* Recommendation Order: 5
|
|
|
|
|
* First Introduced: 2.6
|
|
|
|
|
* Requires Connection: Yes
|
2021-04-27 08:32:47 +02:00
|
|
|
* Requires User Connection: Yes
|
2019-11-15 23:26:29 +01:00
|
|
|
* Auto Activate: No
|
|
|
|
|
* Module Tags: Developers
|
|
|
|
|
* Feature: Security
|
2020-03-03 18:49:45 +01:00
|
|
|
* Additional Search Queries: sso, single sign on, login, log in, 2fa, two-factor
|
2025-02-28 08:42:11 +01:00
|
|
|
*
|
|
|
|
|
* @package automattic/jetpack
|
2019-11-15 23:26:29 +01:00
|
|
|
*/
|
2024-04-17 11:32:24 +02:00
|
|
|
|
2025-02-28 08:42:11 +01:00
|
|
|
use Automattic\Jetpack\Connection\SSO;
|
2019-11-15 23:26:29 +01:00
|
|
|
|
2025-12-12 13:13:07 +01:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
|
exit( 0 );
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-28 08:42:11 +01:00
|
|
|
SSO::get_instance();
|
2023-04-26 17:39:43 +02:00
|
|
|
|
2025-02-28 08:42:11 +01:00
|
|
|
add_action(
|
|
|
|
|
'jetpack_modules_loaded',
|
|
|
|
|
function () {
|
2019-11-15 23:26:29 +01:00
|
|
|
Jetpack::enable_module_configurable( __FILE__ );
|
|
|
|
|
}
|
2025-02-28 08:42:11 +01:00
|
|
|
);
|