Changeset 6795 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/wporg-two-factor.php
- Timestamp:
- 02/27/2018 12:16:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/wporg-two-factor.php
r6794 r6795 78 78 if ( $login_host === $_SERVER['HTTP_HOST'] ) { 79 79 if ( '/wp-login.php' == substr( $_SERVER['REQUEST_URI'], 0, 13 ) ) { 80 if ( $_POST || 'backup_2fa' == $_REQUEST['action'] || 'validate_2fa' == $_REQUEST['action']) {80 if ( $_POST || ( isset( $_REQUEST['action'] ) && ( 'backup_2fa' == $_REQUEST['action'] || 'validate_2fa' == $_REQUEST['action'] ) ) ) { 81 81 return $user_id; 82 82 }
Note: See TracChangeset
for help on using the changeset viewer.