updated plugin Two Factor version 0.16.0
This commit is contained in:
@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user