Skip to content

Commit df73362

Browse files
authored
chore: update Two Factor to 0.11.0 (#6123)
* chore: update `Two Factor` to 0.11.0 * fix: BREAKING-841: disable U2F provider
1 parent c2f960f commit df73362

16 files changed

+1099
-404
lines changed
-19.3 KB
Loading
-12.9 KB
Loading
Loading

shared-plugins/two-factor/class-two-factor-compat.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ public function jetpack_rememberme( $rememberme ) {
5050
* @return boolean
5151
*/
5252
public function jetpack_is_sso_active() {
53-
return ( method_exists( 'Jetpack', 'is_module_active' ) && Jetpack::is_module_active( 'sso' ) );
53+
return ( class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'is_module_active' ) && Jetpack::is_module_active( 'sso' ) );
5454
}
5555
}

0 commit comments

Comments
 (0)