mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°7423 - Forbid UserTokens to be able to connect to the backoffice (or any portal) - add context to users
This commit is contained in:
@@ -314,6 +314,8 @@ try
|
||||
|
||||
$oKPI = new ExecutionKPI();
|
||||
|
||||
$oContextGUI = new ContextTag(ContextTag::TAG_GUI);
|
||||
|
||||
require_once(APPROOT.'/application/loginwebpage.class.inc.php');
|
||||
$sLoginMessage = LoginWebPage::DoLogin(); // Check user rights and prompt if needed
|
||||
$oAppContext = new ApplicationContext();
|
||||
|
||||
Reference in New Issue
Block a user