|
@@ -65,9 +65,9 @@ |
|
65
|
65
|
if ( ! $api_key || ! $username ) { |
|
66
|
66
|
$this->redirect_to_home(); |
|
67
|
67
|
} |
|
68
|
68
|
|
|
69
|
|
- if ( $api_key !== flywp()->get_api_key() ) { |
|
69
|
+ if ( $api_key !== flywp()->get_key() ) { |
|
70
|
70
|
$this->redirect_to_home(); |
|
71
|
71
|
} |
|
72
|
72
|
|
|
73
|
73
|
if ( is_user_logged_in() ) { |