mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 06:56:41 +02:00
fixed subtle bug with re-login
This commit is contained in:
parent
8f9807daf3
commit
6c14940e3e
@ -90,8 +90,7 @@ void DynamicCodeLoaderRenderer::renderHead(const Renderable* pRenderable, const
|
|||||||
WebApplication::instance().registerAjaxProcessor(Poco::NumberFormatter::format(pLoader->id()), pL);
|
WebApplication::instance().registerAjaxProcessor(Poco::NumberFormatter::format(pLoader->id()), pL);
|
||||||
|
|
||||||
// the js file: only do when not already set
|
// the js file: only do when not already set
|
||||||
if (!pLoader->getViewCode().empty())
|
// bug: this optimization breaks logout/login stuff!
|
||||||
return;
|
|
||||||
|
|
||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
View::Ptr pView = pLoader->view();
|
View::Ptr pView = pLoader->view();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user