Skip to content

Commit

Permalink
fix authentication bypass in patient portal
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngai-E committed Aug 2, 2020
1 parent 5bd8f48 commit 9e2f5f2
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 9e2f5f2

Please sign in to comment.