using static resources for webui

This commit is contained in:
csoler 2019-11-24 10:50:58 +01:00
parent c2d47b01df
commit c7af86b4c1
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 50 additions and 52 deletions

View file

@ -454,8 +454,8 @@ bool JsonApiServer::isAuthTokenValid(const std::string& token)
auto it = mAuthTokenStorage.mAuthorizedTokens.find(user);
if(it == mAuthTokenStorage.mAuthorizedTokens.end())
return false;
if(it == mAuthTokenStorage.mAuthorizedTokens.end())
return false;
// attempt avoiding +else CRYPTO_memcmp+ being optimized away
int noOptimiz = 1;