N°2572 - Improve error message "Nowhere to go??" with root cause

This commit is contained in:
vdumas
2024-04-15 13:51:51 +02:00
parent dc553ca83c
commit 6ae813221e

View File

@@ -971,7 +971,7 @@ class LoginWebPage extends NiceWebPage
}
else if($ret === false)
{
throw new Exception('Nowhere to go??');
throw new Exception('Nowhere to go: Your combination of user Profiles denies you access to any '.ITOP_APPLICATION_SHORT.' portal. Please contact your administrator');
}
else
{