Fix authentication dialog not working for proxy

This commit is contained in:
Yuya Ochiai 2016-07-13 00:41:31 +09:00
parent f7ba831eaf
commit 227bda3a93

View file

@ -24,7 +24,7 @@ const LoginModal = React.createClass({
if (!this.props.show) {
theServer = '';
} else if (this.props.authInfo.isProxy) {
theServer = `The proxy ${authInfo.host}:${authInfo.port}`;
theServer = `The proxy ${this.props.authInfo.host}:${this.props.authInfo.port}`;
} else {
theServer = `The server ${this.props.authServerURL}`;
}