Browse Source

Merge pull request #7030 from Piccirello/failed-attempts-auth

Skip webui username/password check for active sessions
adaptive-webui-19844
Mike Tzou 8 years ago committed by GitHub
parent
commit
726e9f0774
  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