Changeset 2688825
- Timestamp:
- 03/04/2022 11:15:51 AM (4 years ago)
- File:
-
- 1 edited
-
wp-cassify/trunk/classes/wp_cassify_plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-cassify/trunk/classes/wp_cassify_plugin.php
r2621574 r2688825 42 42 43 43 private $wp_cassify_service_ticket_salt; 44 45 private $wp_cassify_cache_times_for_auth_recheck; 44 46 45 47 /** … … 279 281 280 282 if ( isset( $_SESSION['wp_cassify'] ) ) { 281 if ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['user_auth'] == true ) { 282 $is_authenticated = true; 283 if ( array_key_exists('user_auth', $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ] ) ) { 284 if ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['user_auth'] == true ) { 285 $is_authenticated = true; 286 } 283 287 } 284 288 } … … 814 818 815 819 if ( ( ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] != -2 ) && ( $this->wp_cassify_get_cache_times_for_auth_recheck() == -1 ) ) || 816 ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] >= 0 && $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] < $this-> _cache_times_for_auth_recheck )820 ( $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] >= 0 && $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count'] < $this->wp_cassify_cache_times_for_auth_recheck ) 817 821 ) { 818 822 $auth = false; 819 823 820 if ( $this-> _cache_times_for_auth_recheck != -1 ) {824 if ( $this->wp_cassify_cache_times_for_auth_recheck != -1 ) { 821 825 $_SESSION['wp_cassify'][ $this->wp_cassify_current_blog_id ]['unauth_count']++;; 822 826 }
Note: See TracChangeset
for help on using the changeset viewer.