Move the token JWT console log out of an interator (#17010)

This commit is contained in:
Phil Renaud
2023-04-28 13:46:10 -04:00
committed by GitHub
parent 8919997896
commit 0aae32a346
2 changed files with 8 additions and 4 deletions

3
.changelog/17010.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:bug
ui: fix a mirage-only issue where our mock token logs repeated unnecessarily
```

View File

@@ -664,11 +664,12 @@ Secret: ${token.secretId}
Accessor: ${token.accessorId}
`);
console.log(
'Alternatively, log in with a JWT. If it ends with `management`, you have full access. If it ends with `bad`, you`ll get an error. Otherwise, you`ll get a token with limited access.'
);
});
console.log(
'Alternatively, log in with a JWT. If it ends with `management`, you have full access. If it ends with `bad`, you`ll get an error. Otherwise, you`ll get a token with limited access.'
);
console.log('=====================================');
}
function getConfigValue(variableName, defaultValue) {