CHANGE_NHANCE_TO_TICKET_ENV_HELPDESK_URL : AADHAVAN
This commit is contained in:
parent
14014fd94f
commit
add2a3e0fb
@ -590,7 +590,7 @@
|
|||||||
$parsedUrl = parse_url($currentUrl);
|
$parsedUrl = parse_url($currentUrl);
|
||||||
$baseUrl = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . '/';
|
$baseUrl = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . '/';
|
||||||
$hashedEmail = hash('sha256', $sessionData->email);
|
$hashedEmail = hash('sha256', $sessionData->email);
|
||||||
$redirectUrl = $baseUrl . 'helpdesk/staff/login?' . http_build_query(['token' => $hashedEmail]);
|
$redirectUrl = $baseUrl . getenv('hepldeskURL') .'/staff/login?' . http_build_query(['token' => $hashedEmail]);
|
||||||
?>
|
?>
|
||||||
<a href="<?php echo $redirectUrl; ?>" target="_blank">
|
<a href="<?php echo $redirectUrl; ?>" target="_blank">
|
||||||
<i class="mdi mdi-lifebuoy"></i>
|
<i class="mdi mdi-lifebuoy"></i>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user