From 80505d9821060e62e19b07cdc0d4752ee212cc83 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Fri, 19 Dec 2025 14:17:45 +0100 Subject: [PATCH] MT#64172 enable use_session = 0 for all API and JWT realms * this disables $c->user_exists to result in successful auth if correct session is provided. Change-Id: Id91b88f6f30dcca6a7b40eb61a23e2bbdabce7dd (cherry picked from commit 6003c3bab42905a8820aaa09f85e95bdc70c0b48) (cherry picked from commit df6d7e401ae1ebee5294692269c591ed8b3e5748) --- lib/NGCP/Panel.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/NGCP/Panel.pm b/lib/NGCP/Panel.pm index c75b56d6d2..88381e3ef6 100644 --- a/lib/NGCP/Panel.pm +++ b/lib/NGCP/Panel.pm @@ -179,6 +179,7 @@ __PACKAGE__->config( user_model => 'DB::admins', store_user_class => 'NGCP::Panel::Authentication::Store::RoleFromRealm', }, + use_session => 0, }, api_admin => { credential => { @@ -278,6 +279,7 @@ __PACKAGE__->config( user_model => 'DB::provisioning_voip_subscribers', store_user_class => 'NGCP::Panel::Authentication::Store::RoleFromRealm', }, + use_session => 0, }, api_admin_jwt => { credential => { @@ -295,6 +297,7 @@ __PACKAGE__->config( user_model => 'DB::admins', store_user_class => 'NGCP::Panel::Authentication::Store::RoleFromRealm', }, + use_session => 0, }, api_admin_system => { credential => {