mirror of
https://github.com/monero-project/monero.git
synced 2026-01-21 00:43:19 -08:00
new wipeable_string class to replace std::string passphrases
This commit is contained in:
@@ -211,7 +211,7 @@ std::string get_a1(const http::login& user, const fields& src)
|
||||
{
|
||||
const std::string& realm = src.at(u8"realm");
|
||||
return boost::join(
|
||||
std::vector<std::string>{user.username, realm, user.password}, u8":"
|
||||
std::vector<std::string>{user.username, realm, std::string(user.password.data(), user.password.size())}, u8":"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user