Skip to content

Commit e848b5f

Browse files
committed
Update SOTT.php
1 parent 3a3b3a1 commit e848b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LoginRadiusSDK/Utility/SOTT.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ public function encrypt($timeDifference = '', $getLRserverTime = false, $apiKey
9595
{
9696
$time=!empty($timeDifference)?$timeDifference:'10';
9797

98-
$apiKey=!empty($apiKey)?$apiKey:$this->_key;
98+
$apiKey=!empty($apiKey)?$apiKey:Functions::getApiKey();
9999

100-
$apiSecret=!empty($apiSecret)?$apiSecret:$this->_secret;
100+
$apiSecret=!empty($apiSecret)?$apiSecret:Functions::getApiSecret();
101101

102102
if ($getLRserverTime) {
103103
$result = Functions::apiClient("/identity/v2/serverinfo", array("TimeDifference" => $time), array('output_format' => 'json'));

0 commit comments

Comments
 (0)