Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
b.slaveykov committed Jan 3, 2020
1 parent a720ce2 commit f6dec8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -785,10 +785,12 @@ public function get_domains()
$whitelabel_key = false;
if (isset($_GET['whitelabel_key'])) {
$whitelabel_key = $_GET['whitelabel_key'];
$whitelabel_key = trim($whitelabel_key);
}

$config = new \MicroweberAddon\Config();
$current_whitelabel_key = $config->get_setting_value('whitelabel_key');
$current_whitelabel_key = md5($current_whitelabel_key);

if ($whitelabel_key !== $current_whitelabel_key) {
die();
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.2

0 comments on commit f6dec8e

Please sign in to comment.