Skip to content

Commit

Permalink
Update market.repo.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc committed Jul 20, 2023
1 parent f461e61 commit bf323f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/repo/market.repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,9 @@ public static function postJsonRpc(&$_result) {
config::save('vpn::port', $_result['register::vpnPort']);
$restart_dns = true;
}
if (isset($_result['register::vpnProtocol']) && config::byKey('vpn::protocol') != $_result['register::vpnProtocol']) {
config::save('vpn::protocol', $_result['register::vpnProtocol']);
}
if (isset($_result['dns::remote']) && config::byKey('dns::remote') != $_result['dns::remote']) {
config::save('dns::remote', $_result['dns::remote']);
$restart_dns = true;
Expand Down

0 comments on commit bf323f6

Please sign in to comment.