Move the token JWT console log out of an interator (#17010)
This commit is contained in:
parent
5744b2cd4f
commit
5ca59aef56
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
ui: fix a mirage-only issue where our mock token logs repeated unnecessarily
|
||||||
|
```
|
|
@ -664,11 +664,12 @@ Secret: ${token.secretId}
|
||||||
Accessor: ${token.accessorId}
|
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) {
|
function getConfigValue(variableName, defaultValue) {
|
||||||
|
|
Loading…
Reference in New Issue