mirror of https://github.com/itflow-org/itflow
Remove extra agent client wording
This commit is contained in:
parent
e60a7a59f9
commit
f784b659e8
|
|
@ -1436,6 +1436,10 @@ function appNotify($type, $details, $action = null, $client_id = 0, $entity_id =
|
|||
function logAction($type, $action, $description, $client_id = 0, $entity_id = 0) {
|
||||
global $mysqli, $session_user_agent, $session_ip, $session_user_id;
|
||||
|
||||
$client_id = intval($client_id);
|
||||
$entity_id = intval($entity_id);
|
||||
$session_user_id = intval($session_user_id);
|
||||
|
||||
if (empty($session_user_id)) {
|
||||
$session_user_id = 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -281,12 +281,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && (isset($_POST['login']) || isset($_
|
|||
'created' => time()
|
||||
];
|
||||
}
|
||||
|
||||
$response = "
|
||||
<div class='alert alert-light'>
|
||||
This login can be used as either an Agent account or a Client Portal account.
|
||||
Please choose how you want to continue.
|
||||
</div>";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue