Skip to content
Snippets Groups Projects
Commit ca228a23 authored by aydreeihn's avatar aydreeihn
Browse files

Merge remote-tracking branch 'kevin/issue/prevent-account-takeover' into features_prs/develop-next

parents b12bad84 be0133b0
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,12 @@
require 'secure.inc.php';
require_once 'class.user.php';
// Check if User is Guest. If so, redirect them back to ticket page to
// prevent Account Takeover.
if ($thisclient->isGuest())
Http::redirect('tickets.php');
$user = User::lookup($thisclient->getId());
if ($user && $_POST) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment