Finish remove user implementation

This commit is contained in:
2020-05-26 01:37:11 +02:00
parent 03f2c31989
commit c4e2ec96dd
4 changed files with 13 additions and 3 deletions

View File

@@ -67,3 +67,8 @@ void session_manager::create_user(std::string username, std::string password, bo
this->con->write_string(password);
this->con->write_string(admin?"t":"f");
}
void session_manager::remove_user(std::string username){
this->con->write_string("rusr");
this->con->write_string(username);
}