diff options
author | Andres Morales <anmorales@google.com> | 2015-05-28 18:30:14 -0700 |
---|---|---|
committer | Andres Morales <anmorales@google.com> | 2015-05-28 18:36:04 -0700 |
commit | ea08acebdbea498854520ad65dedcef91912bb4a (patch) | |
tree | 227d663666579e755ccdc13cbc30e0cd2fd89705 | |
parent | a623e45c36f36f855c985f22db78077f828ce389 (diff) | |
download | gatekeeper-ea08acebdbea498854520ad65dedcef91912bb4a.tar.gz |
disable throtlling
Bug: 21501401
-rw-r--r-- | gatekeeper.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gatekeeper.cpp b/gatekeeper.cpp index f18a490..8c36666 100644 --- a/gatekeeper.cpp +++ b/gatekeeper.cpp @@ -42,7 +42,8 @@ void GateKeeper::Enroll(const EnrollRequest &request, EnrollResponse *response) uint64_t timestamp = GetMillisecondsSinceBoot(); - bool throttle = true; + // disabled + bool throttle = false; if (pw_handle->version == 0) { // handle version is pre-throttling throttle = false; @@ -111,7 +112,8 @@ void GateKeeper::Verify(const VerifyRequest &request, VerifyResponse *response) password_handle_t *password_handle = reinterpret_cast<password_handle_t *>( request.password_handle.buffer.get()); - bool throttle = true; + // disabled + bool throttle = false; if (password_handle->version == 0) { // handle version is pre-throttling throttle = false; |