Adding Authenticator doc.

This commit is contained in:
stephb9959
2022-02-02 08:05:18 -08:00
parent ef9cd80df6
commit 77941c4775

View File

@@ -105,6 +105,7 @@ namespace OpenWifi {
_OWDEBUG_
if(Hint!=Cache_.end() && Subscriber==Hint->second.Subscriber && (Now-Hint->second.Start)<(15*60)) {
_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)) {
_OWDEBUG_
NextIndex++;