mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Make i2pcontrol password configurable.
This commit is contained in:
@@ -100,8 +100,8 @@ void I2PControlSession::Response::setId(const std::string& identifier)
|
||||
id = identifier;
|
||||
}
|
||||
|
||||
I2PControlSession::I2PControlSession(boost::asio::io_service& ios)
|
||||
: password(I2P_CONTROL_DEFAULT_PASSWORD), tokens(), tokensMutex(),
|
||||
I2PControlSession::I2PControlSession(boost::asio::io_service& ios, const std::string& pass)
|
||||
: password(pass), tokens(), tokensMutex(),
|
||||
service(ios), shutdownTimer(ios), expireTokensTimer(ios)
|
||||
{
|
||||
// Method handlers
|
||||
|
||||
Reference in New Issue
Block a user