mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
ensure locked accounts are redirected
This commit is contained in:
@@ -117,6 +117,7 @@ if ($Viewer) {
|
||||
}
|
||||
if ($Viewer->isLocked() && !in_array($module, ['chat', 'staffpm', 'ajax', 'locked', 'logout', 'login'])) {
|
||||
$Viewer->requestContext()->setModule('locked');
|
||||
$module = 'locked';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user