Skip to content

Commit 265b8ce

Browse files
committed
fix(pci.users): pass userid and password to api
1 parent 071b760 commit 265b8ce

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

packages/manager/modules/pci/src/projects/project/users/openstack-token/openstack-token.controller.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ export default class PciUsersOpenstackTokenController {
1212

1313
$onInit() {
1414
this.isLoading = false;
15-
this.user.password = 'brJ8zFZUrFMKHPdMd2fp7KSCpdanuHuS';
15+
this.user = {
16+
id: this.userId,
17+
password: null,
18+
};
1619
this.token = null;
1720
}
1821

packages/manager/modules/pci/src/projects/project/users/openstack-token/openstack-token.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<oui-password
2121
data-id="password"
2222
data-name="password"
23-
data-model="$ctrl.modelBasic"
23+
data-model="$ctrl.user.password"
2424
data-maxlength="4095"
2525
data-required>
2626
</oui-password>
@@ -67,15 +67,3 @@
6767
</div>
6868
</oui-modal>
6969
</form>
70-
71-
72-
73-
<!--
74-
75-
Le token Openstack permettant d'identifier vos requêtes HTTP (X-Auth-Token) est : gAAAAABc0UxGhwVPvnVPf_mYMwijZ_1Mbj2SFSSZe1j4BcZRTLotaBvatNiyozY_FJF6mvabiPqYBcbqJlX1TTpE4e2GSKE5lts1ZbBk01dXe2jfv4GeRItJxsXgX9PWL2fZ-KTgA7gcYNOtW9t-bLyoM6mVPcqzz6fFJSOp3UyWvOUDdlFcPJo
76-
77-
Retrouvez un exemple d'utilisation dans ce guide.
78-
79-
Veuillez noter ces identifiants. Ils ne seront plus accessibles à la prochaine actualisation.
80-
81-
-->

0 commit comments

Comments
 (0)