Skip to content

Commit

Permalink
Adding the ability to check both POST and GET variable
Browse files Browse the repository at this point in the history
  • Loading branch information
elesei committed Dec 12, 2018
1 parent e877155 commit f47c091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/servers/solusvmpro/lib/SolusVM.php
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,8 @@ public function clientAreaCalculations($result)

public function clientAreaCommands()
{

if ($_POST['logintosolusvm']) {
global $whmcs;
if ($whmcs->get_req_var('logintosolusvm') === 'Manage') {

if ($this->getExtData("clientkeyauthreturnurl") != "") {
$sysurl = $this->getExtData("clientkeyauthreturnurl");
Expand Down

0 comments on commit f47c091

Please sign in to comment.