updated plugin Two Factor version 0.16.0

This commit is contained in:
2026-06-03 21:29:19 +00:00
committed by Gitium
parent bc89bee944
commit 57bccfdbd1
33 changed files with 1920 additions and 2942 deletions

View File

@ -11,11 +11,15 @@
* Should be used with care because ideally we wouldn't need
* any integration specific code for this plugin. Everything should
* be handled through clever use of hooks and best practices.
*
* @since 0.5.0
*/
class Two_Factor_Compat {
/**
* Initialize all the custom hooks as necessary.
*
* @since 0.5.0
*
* @return void
*/
public function init() {
@ -30,6 +34,8 @@ class Two_Factor_Compat {
/**
* Jetpack single sign-on wants long-lived sessions for users.
*
* @since 0.5.0
*
* @param boolean $rememberme Current state of the "remember me" toggle.
*
* @return boolean
@ -47,6 +53,8 @@ class Two_Factor_Compat {
/**
* Helper to detect the presence of the active SSO module.
*
* @since 0.5.0
*
* @return boolean
*/
public function jetpack_is_sso_active() {