mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
Adding Authenticator doc.
This commit is contained in:
@@ -108,7 +108,6 @@ namespace OpenWifi {
|
||||
uint64_t Now = std::time(nullptr);
|
||||
ErrorCode = 0;
|
||||
if(Hint!=Cache_.end() && Subscriber==Hint->second.Subscriber && (Now-Hint->second.Start)<(15*60)) {
|
||||
std::cout << "NI:" << NextIndex << " S:" << Hint->second.Secret << " C:" << Code << std::endl;
|
||||
std::string Expecting;
|
||||
if (NextIndex == 1 && Hint->second.Verifications == 0 && ValidateCode(Hint->second.Secret, Code, Expecting)) {
|
||||
NextIndex++;
|
||||
|
||||
Reference in New Issue
Block a user