Skip to content

Commit

Permalink
forgot to save one file for the last commit
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Aug 11, 2023
1 parent 2d30394 commit faa71ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions customer_index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
if (is_array(CurrentUser::getField('switched_user'))) {
$result = CurrentUser::getData();
$result = $result['switched_user'];
session_regenerate_id(true);
CurrentUser::setData($result);
$target = (isset($_GET['target']) ? $_GET['target'] : 'index');
$redirect = "admin_" . $target . ".php";
Expand Down

0 comments on commit faa71ce

Please sign in to comment.