forked from p15670423/monkey
Show AWS info regardless of failed auth
This commit is contained in:
parent
af5e791e1b
commit
f5b9c6fe46
|
@ -327,10 +327,7 @@ class RunMonkeyPageComponent extends AuthComponent {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{
|
|
||||||
this.state.awsUpdateFailed ?
|
|
||||||
<div className="col-sm-8 col-sm-offset-2" style={{'fontSize': '1.2em'}}>
|
<div className="col-sm-8 col-sm-offset-2" style={{'fontSize': '1.2em'}}>
|
||||||
<p className="alert alert-danger" role="alert">Authentication failed.</p>
|
|
||||||
<p className="alert alert-info">
|
<p className="alert alert-info">
|
||||||
<i className="glyphicon glyphicon-info-sign" style={{'marginRight': '5px'}}/>
|
<i className="glyphicon glyphicon-info-sign" style={{'marginRight': '5px'}}/>
|
||||||
In order to remotely run commands on AWS EC2 instances, please make sure you have
|
In order to remotely run commands on AWS EC2 instances, please make sure you have
|
||||||
|
@ -339,6 +336,11 @@ class RunMonkeyPageComponent extends AuthComponent {
|
||||||
AWS <a href="https://docs.aws.amazon.com/console/ec2/run-command/troubleshooting" target="_blank">troubleshooting guide</a>.
|
AWS <a href="https://docs.aws.amazon.com/console/ec2/run-command/troubleshooting" target="_blank">troubleshooting guide</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
{
|
||||||
|
this.state.awsUpdateFailed ?
|
||||||
|
<div className="col-sm-8 col-sm-offset-2" style={{'fontSize': '1.2em'}}>
|
||||||
|
<p className="alert alert-danger" role="alert">Authentication failed.</p>
|
||||||
|
</div>
|
||||||
:
|
:
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue