mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Make i2pcontrol password configurable.
This commit is contained in:
parent
8434863beb
commit
843abb60dd
5 changed files with 12 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue