Skip to content

Commit 5d08396

Browse files
authored
Port #278 to 3-dev (#312)
1 parent a7213f1 commit 5d08396

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sdk/js/6/controllers/auth/create-my-credentials/snippets/create-my-credentials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ await kuzzle.auth.login('local', credentials);
55
const response = await kuzzle.auth.createMyCredentials('other', credentials);
66
console.log(response);
77
/*
8-
{ username: 'foo', password: 'bar' }
8+
{ username: 'foo', kuid: 'AVkDBl3YsT6qHI7MxLz0' }
99
*/
1010

1111
console.log('Credentials successfully created');

src/sdk/js/6/controllers/auth/get-my-credentials/snippets/get-my-credentials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ try {
66
const localCredentials = await kuzzle.auth.getMyCredentials('local');
77
console.log(localCredentials);
88
/*
9-
{ username: 'foo', kuid: 'foo' }
9+
{ username: 'foo', kuid: 'AVkDBl3YsT6qHI7MxLz0' }
1010
*/
1111

1212
console.log('Success');

0 commit comments

Comments
 (0)