|
@@ 221-226 (lines=6) @@
|
| 218 |
|
* |
| 219 |
|
* @since 2.7 |
| 220 |
|
**/ |
| 221 |
|
public function render_require_two_step() { |
| 222 |
|
echo '<label>'; |
| 223 |
|
echo '<input type="checkbox" name="jetpack_sso_require_two_step" ' . checked( 1 == get_option( 'jetpack_sso_require_two_step' ), true, false ) . '> '; |
| 224 |
|
esc_html_e( 'Require Two-Step Authentication' , 'jetpack' ); |
| 225 |
|
echo '</label>'; |
| 226 |
|
} |
| 227 |
|
|
| 228 |
|
/** |
| 229 |
|
* Validate the require two step checkbox in Settings > General |
|
@@ 244-249 (lines=6) @@
|
| 241 |
|
* |
| 242 |
|
* @since 2.9 |
| 243 |
|
**/ |
| 244 |
|
public function render_match_by_email() { |
| 245 |
|
echo '<label>'; |
| 246 |
|
echo '<input type="checkbox" name="jetpack_sso_match_by_email"' . checked( 1 == get_option( 'jetpack_sso_match_by_email' ), true, false) . '> '; |
| 247 |
|
esc_html_e( 'Match by Email', 'jetpack' ); |
| 248 |
|
echo '</label>'; |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
/** |
| 252 |
|
* Validate the match by email check in Settings > General |