Changeset 2317770
- Timestamp:
- 06/04/2020 05:21:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
login-using-cidaas/trunk/includes/cidaas-login-form.php
r2316356 r2317770 41 41 { 42 42 if ( $GLOBALS['pagenow'] == 'wp-login.php' 43 && ( $this->settings->login_type == 'auto' || ! empty( sanitize_text_field($_GET['force_redirect'])) )44 && ( sanitize_text_field($_GET[ 'action' ]) == NULL || sanitize_text_field($_GET[ 'action' ])!== 'logout' )45 && sanitize_text_field($_POST['wp-submit'])== NULL )43 && ( $this->settings->login_type == 'auto' || ! empty($_GET['force_redirect'] ) ) 44 && ( $_GET[ 'action' ] == NULL || $_GET[ 'action' ] !== 'logout' ) 45 && $_POST['wp-submit'] == NULL ) 46 46 { 47 if ( sanitize_text_field($_GET['login-error'])!== NULL ) {47 if ( $_GET['login-error'] !== NULL ) { 48 48 $this->handle_redirect_cookie(); 49 49 wp_redirect( $this->client_wrapper->get_authentication_url() ); … … 96 96 function handle_login_page( $message ) { 97 97 98 if ( sanitize_text_field($_GET['login-error'])!== NULL ) {98 if ( $_GET['login-error'] !== NULL ) { 99 99 $message .= $this->make_error_output( sanitize_text_field($_GET['login-error']), sanitize_text_field($_GET['message']) ); 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.