From ea0f65f7a5ebea7e5a311724e4917ece867b99f3 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris <sideris.konstantin@gmail.com> Date: Sun, 20 May 2018 16:00:59 +0300 Subject: [PATCH] Remove test account credentials --- examples/crypto_bot.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/crypto_bot.cpp b/examples/crypto_bot.cpp index 70915fd0d..c40ea84bc 100644 --- a/examples/crypto_bot.cpp +++ b/examples/crypto_bot.cpp @@ -597,17 +597,17 @@ main() { spdlog::set_pattern("[%H:%M:%S] [tid %t] [%^%l%$] %v"); - std::string username("mtx_bot"); - std::string server("matrix.org"); - std::string password("dzyvrwB09GdyEqiyBnfAEvZI3"); + std::string username; + std::string server; + std::string password; - // cout << "username: "; - // std::getline(std::cin, username); + cout << "username: "; + std::getline(std::cin, username); - // cout << "server: "; - // std::getline(std::cin, server); + cout << "server: "; + std::getline(std::cin, server); - // password = getpass("password: "); + password = getpass("password: "); client = std::make_shared<Client>(server); -- GitLab