12345678910111213 |
- #include "../include/UserManager.h"
- void UserManager::init(const std::string &file) {}
- bool UserManager::isAllowed(const std::string &name, const std::string &pw) { return name == "positive" && pw == "positive"; }
- bool UserManager::addUser(const std::string &name, const std::string &pw) { return name == "positive" && pw == "positive"; }
- bool UserManager::deleteUser(const std::string &name, const std::string &pw) { return name == "positive" && pw == "positive"; }
- void UserManager::readFromFile(std::map<std::string, std::string> &user_map) {}
- void UserManager::writeToFile(std::map<std::string, std::string> &user_map) {}
|