mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 19:27:59 +00:00
Adding Google Authenticator
This commit is contained in:
@@ -21,7 +21,8 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
bool GetMe = GetBoolParameter(RESTAPI::Protocol::ME, false);
|
bool GetMe = GetBoolParameter(RESTAPI::Protocol::ME, false);
|
||||||
if(GetMe) {
|
if(GetMe) {
|
||||||
Logger_.information(Poco::format("REQUEST-ME(%s): Request for %s", Request->clientAddress().toString(), UserInfo_.userinfo.email));
|
Logger_.information(Poco::format("REQUEST-ME(%s): Request for %s", Request->clientAddress().toString(),
|
||||||
|
UserInfo_.userinfo.email));
|
||||||
Poco::JSON::Object Me;
|
Poco::JSON::Object Me;
|
||||||
SecurityObjects::UserInfo ReturnedUser = UserInfo_.userinfo;
|
SecurityObjects::UserInfo ReturnedUser = UserInfo_.userinfo;
|
||||||
Sanitize(UserInfo_, ReturnedUser);
|
Sanitize(UserInfo_, ReturnedUser);
|
||||||
|
|||||||
Reference in New Issue
Block a user