Skip to content

Commit

Permalink
Merge pull request #1635 from Ngai-E/fix-Patient-Portal-Authenticatio…
Browse files Browse the repository at this point in the history
…n-Bypass

fix authentication bypass in patient portal
  • Loading branch information
muarachmann authored Jul 19, 2021
2 parents ec27daa + 9e2f5f2 commit 35bb707
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions patient_portal/account/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

unset($_SESSION['itsme']);

$_SESSION['patient_portal_onsite'] = true;
$_SESSION['authUser'] = 'portal-user';
$_SESSION['pid'] = true;
$_SESSION['register'] = true;
Expand All @@ -27,7 +26,6 @@

require_once("../../interface/globals.php");


$res2 = sqlStatement("select * from lang_languages where lang_description = ?", array(
$GLOBALS['language_default']
));
Expand Down

0 comments on commit 35bb707

Please sign in to comment.