Changeset - 37ee8ce9804d
[Not reviewed]
0 1 0
Jan Kaluza - 10 years ago 2016-01-24 12:07:48
jkaluza@redhat.com
Remove wrong std::string token definition
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spectrum/src/frontends/slack/SlackUserRegistration.cpp
Show inline comments
 
@@ -121,13 +121,12 @@ std::string SlackUserRegistration::handleOAuth2Code(const std::string &code, con
 
			data = m_authsData[state];
 
		}
 
		else {
 
			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;
 
		}
 
	}
 

	
0 comments (0 inline, 0 general)