Finish remove user implementation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user