Browse Source

Skip username/password check for active sessions (closes #6860)

adaptive-webui-19844
Thomas Piccirello 8 years ago
parent
commit
cd5a55d711
  1. 5
      src/webui/webapplication.cpp

5
src/webui/webapplication.cpp

@ -172,6 +172,11 @@ void WebApplication::action_public_webui() @@ -172,6 +172,11 @@ void WebApplication::action_public_webui()
void WebApplication::action_public_login()
{
if (sessionActive()) {
print(QByteArray("Ok."), Http::CONTENT_TYPE_TXT);
return;
}
const Preferences* const pref = Preferences::instance();
QCryptographicHash md5(QCryptographicHash::Md5);

Loading…
Cancel
Save