clarify auth token is equivalent to a password
This commit is contained in:
parent
4c2143fda4
commit
1916589553
2 changed files with 11 additions and 3 deletions
|
@ -9,7 +9,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
|||
## [Unreleased]
|
||||
### Added
|
||||
*
|
||||
*
|
||||
* The "auth token" displayable on Help offers security warning
|
||||
|
||||
### Changed
|
||||
*
|
||||
|
|
|
@ -50,7 +50,7 @@ class HelpPage extends React.PureComponent {
|
|||
render() {
|
||||
let ver, osName, platform, newVerLink;
|
||||
|
||||
const { doAuth, user } = this.props;
|
||||
const { accessToken, doAuth, user } = this.props;
|
||||
|
||||
if (this.state.versionInfo) {
|
||||
ver = this.state.versionInfo;
|
||||
|
@ -196,7 +196,15 @@ class HelpPage extends React.PureComponent {
|
|||
onClick={this.showAccessToken.bind(this)}
|
||||
/>}
|
||||
{!this.state.accessTokenHidden &&
|
||||
this.props.accessToken}
|
||||
accessToken &&
|
||||
<div>
|
||||
<p>{accessToken}</p>
|
||||
<div className="help">
|
||||
{__(
|
||||
"This is equivalent to a password. Do not post or share this."
|
||||
)}
|
||||
</div>
|
||||
</div>}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue