Now have to check to see if the token has the correct scope

This commit is contained in:
kdeng00
2019-08-20 19:56:26 -04:00
parent 3e94e0e22e
commit e42a551193
2 changed files with 52 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ public:
auto auth = authHeader->std_str();
std::cout << "auth " << auth << std::endl;
//std::cout << "auth " << auth << std::endl;
token_manager tok;
if (!tok.is_token_valid(auth, Scope::upload)) {