From cca9e52175609e8ca3904d116c1557e69bce275a Mon Sep 17 00:00:00 2001 From: JacquesLarique <134954692+JacquesLarique@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:10:51 +0100 Subject: [PATCH] fix(billing): added auth information on currentUser (#14688) ref: MANAGER-14917 Signed-off-by: Jacques Larique --- packages/manager/modules/new-billing/src/common/User.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/manager/modules/new-billing/src/common/User.js b/packages/manager/modules/new-billing/src/common/User.js index 4a90b3981f44..0f7a9d6ce15d 100644 --- a/packages/manager/modules/new-billing/src/common/User.js +++ b/packages/manager/modules/new-billing/src/common/User.js @@ -30,6 +30,7 @@ export default /* @ngInject */ function BillingUserService( result.billingCountry === 'FR' && result.legalform === 'individual', hasAutorenew2016: () => AUTORENEW_2016_SUBSIDIARIES.includes(result.ovhSubsidiary), + auth: result.auth, })); this.getMe = () => $q.when(coreConfig.getUser());