Remove wrong std::string token definition
This commit is contained in:
parent
6fc502c3c9
commit
37ee8ce980
1 changed files with 0 additions and 1 deletions
|
@ -124,7 +124,6 @@ std::string SlackUserRegistration::handleOAuth2Code(const std::string &code, con
|
|||
return "Received state code '" + state + "' not found in state codes list.";
|
||||
}
|
||||
|
||||
std::string token;
|
||||
std::string error = oauth2->requestToken(code, token);
|
||||
if (!error.empty()) {
|
||||
return error;
|
||||
|
|
Loading…
Add table
Reference in a new issue