Skip to content

Commit 50cacf3

Browse files
marie-jjleveugle
authored andcommitted
fix: enable user logout
1 parent 2ea267d commit 50cacf3

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

packages/manager/apps/public-cloud/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"@ovh-ux/ng-ovh-proxy-request": "^1.0.0-beta.0",
3333
"@ovh-ux/ng-ovh-responsive-popover": "^5.0.0-beta.0",
3434
"@ovh-ux/ng-ovh-sidebar-menu": "git+https://github.com/ovh-ux/ng-ovh-sidebar-menu.git#feat/always-open",
35+
"@ovh-ux/ng-ovh-sso-auth": "^4.0.0",
3536
"@ovh-ux/ng-ovh-swimming-poll": "^4.0.0",
3637
"@ovh-ux/ng-ovh-toaster": "^1.0.2",
3738
"@ovh-ux/ng-ovh-uirouter-breadcrumb": "0.0.0",

packages/manager/modules/navbar/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@ovh-ux/manager-core": "^5.0.0",
2929
"@ovh-ux/ng-at-internet": "^4.0.0",
3030
"@ovh-ux/ng-ovh-otrs": "^7.0.1",
31+
"@ovh-ux/ng-ovh-sso-auth": "^4.0.0",
3132
"@ovh-ux/ng-translate-async-loader": "^2.0.0",
3233
"angular": "^1.7.8",
3334
"angular-translate": "^2.18.1",

packages/manager/modules/navbar/src/user-menu/controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ import { MAX_NAME_LENGTH, URLS } from './constants';
33

44
export default class {
55
/* @ngInject */
6-
constructor($q, $translate, atInternet, ovhManagerNavbarMenuHeaderBuilder) {
6+
constructor($q, $translate, atInternet, ovhManagerNavbarMenuHeaderBuilder, ssoAuthentication) {
77
this.$q = $q;
88
this.$translate = $translate;
99
this.atInternet = atInternet;
1010
this.NavbarBuilder = ovhManagerNavbarMenuHeaderBuilder;
11+
this.ssoAuthentication = ssoAuthentication;
1112

1213
this.REGION = Environment.getRegion();
1314
}

packages/manager/modules/navbar/src/user-menu/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import 'angular-translate';
33
import 'ovh-ui-angular';
44

55
import '@ovh-ux/ng-at-internet';
6+
import '@ovh-ux/ng-ovh-sso-auth';
67

78
import menuHeader from '../navbar-menu-header';
89

@@ -13,6 +14,7 @@ const moduleName = 'ovhManagerNavbarUserMenu';
1314
angular
1415
.module(moduleName, [
1516
'ngAtInternet',
17+
'ngOvhSsoAuth',
1618
'oui',
1719
'pascalprecht.translate',
1820
menuHeader,

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@
17711771
version "8.0.0-beta.1"
17721772
resolved "git+https://github.com/ovh-ux/ng-ovh-sidebar-menu.git#76db3c9cda614bb35a2c4a85e34f1068528bfd1e"
17731773

1774-
"@ovh-ux/ng-ovh-sso-auth@^4.0.0-beta.0":
1774+
"@ovh-ux/ng-ovh-sso-auth@^4.0.0", "@ovh-ux/ng-ovh-sso-auth@^4.0.0-beta.0":
17751775
version "4.0.0"
17761776
resolved "https://registry.yarnpkg.com/@ovh-ux/ng-ovh-sso-auth/-/ng-ovh-sso-auth-4.0.0.tgz#f6c1027f5ef827d464ff3b0e702b1692ee279703"
17771777
integrity sha512-exPPBbg2WTXH4/LHu3dsqfHq073+NhBzB69WB97Dd75FKust3h/SUjyQyuFOn7h4Z0OI4/8db+6qpwjEIAAz6Q==

0 commit comments

Comments
 (0)