mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fixed typo
This commit is contained in:
parent
10d6cd9896
commit
0edc149ecc
@ -818,7 +818,7 @@ namespace http {
|
||||
url.parse_query(params);
|
||||
|
||||
std::string token = params["token"];
|
||||
if (!token.empty () || m_Tokens.find (std::stoi (token)) == m_Tokens.end ())
|
||||
if (token.empty () || m_Tokens.find (std::stoi (token)) == m_Tokens.end ())
|
||||
{
|
||||
ShowError(s, "Invalid token");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user