We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a06f2f commit ae4cb56Copy full SHA for ae4cb56
gui/webdisplay/src/RWebWindow.cxx
@@ -611,9 +611,9 @@ void RWebWindow::RemoveKey(const std::string &key)
611
612
std::string RWebWindow::GenerateKey() const
613
{
614
- auto key = RWebWindowsManager::GenerateKey(32);
+ auto key = RWebWindowsManager::GenerateKey(IsRequireAuthKey() ? 32 : 4);
615
616
- R__ASSERT((!HasKey(key) && (key != fMgr->fSessionKey)) && "Fail to generate window connection key");
+ R__ASSERT((!IsRequireAuthKey() || (!HasKey(key) && (key != fMgr->fSessionKey))) && "Fail to generate window connection key");
617
618
return key;
619
}
0 commit comments