mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 13:54:27 -04:00
using static resources for webui
This commit is contained in:
parent
c2d47b01df
commit
c7af86b4c1
2 changed files with 50 additions and 52 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue