Skip to content

Commit

Permalink
added rex::getImpersonator()
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis authored Jul 28, 2021
1 parent fa91e25 commit 7f7dec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
if ($session == false) {
$redirect = "aktiv";
}
if ($session == true) {
if ($session == true || rex::getImpersonator()) {
$redirect = "inaktiv";
}
if ($redirect == 'aktiv') {
Expand Down

0 comments on commit 7f7dec4

Please sign in to comment.