mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 19:27:59 +00:00
Adding Authenticator doc.
This commit is contained in:
@@ -105,6 +105,7 @@ namespace OpenWifi {
|
|||||||
_OWDEBUG_
|
_OWDEBUG_
|
||||||
if(Hint!=Cache_.end() && Subscriber==Hint->second.Subscriber && (Now-Hint->second.Start)<(15*60)) {
|
if(Hint!=Cache_.end() && Subscriber==Hint->second.Subscriber && (Now-Hint->second.Start)<(15*60)) {
|
||||||
_OWDEBUG_
|
_OWDEBUG_
|
||||||
|
std::cout << "NI:" << NextIndex << " S:" << Hint->second.Secret << " C:" << code << std::endl;
|
||||||
if (NextIndex == 1 && Hint->second.Verifications == 0 && ValidateCode(Hint->second.Secret, code)) {
|
if (NextIndex == 1 && Hint->second.Verifications == 0 && ValidateCode(Hint->second.Secret, code)) {
|
||||||
_OWDEBUG_
|
_OWDEBUG_
|
||||||
NextIndex++;
|
NextIndex++;
|
||||||
|
|||||||
Reference in New Issue
Block a user