Completing RESTAPI refactor.

This commit is contained in:
stephb9959
2021-09-12 10:36:57 -07:00
committed by oblom0v
parent bca0454086
commit 8e1e6567af

View File

@@ -17,6 +17,7 @@
namespace OpenWifi { namespace OpenWifi {
void RESTAPI_oauth2Handler::DoGet() { void RESTAPI_oauth2Handler::DoGet() {
std::cout << __LINE__ << std::endl;
try { try {
if (!IsAuthorized()) { if (!IsAuthorized()) {
UnAuthorized("Not authorized."); UnAuthorized("Not authorized.");
@@ -58,6 +59,7 @@ namespace OpenWifi {
} }
void RESTAPI_oauth2Handler::DoPost() { void RESTAPI_oauth2Handler::DoPost() {
std::cout << __LINE__ << std::endl;
try { try {
// Extract the info for login... // Extract the info for login...