fix urgent password red box if we have a master ip.
This commit is contained in:
parent
477624be8a
commit
84bca1c2ca
@ -3888,7 +3888,8 @@ bool printRedBox ( SafeBuf *mb , TcpSocket *sock , HttpRequest *hr ) {
|
||||
return (bool)adds;
|
||||
}
|
||||
|
||||
if ( g_conf.m_masterPwds.length() == 0 ) {
|
||||
if ( g_conf.m_masterPwds.length() == 0 &&
|
||||
g_conf.m_connectIps.length() == 0 ) {
|
||||
if ( adds ) mb->safePrintf("<br>");
|
||||
adds++;
|
||||
mb->safePrintf("%s",box);
|
||||
|
Loading…
x
Reference in New Issue
Block a user