Page MenuHomePhorge

D4370.1775260765.diff
No OneTemporary

Authored By
Unknown
Size
581 B
Referenced Files
None
Subscribers
None

D4370.1775260765.diff

diff --git a/plugins/kolab_2fa/lib/Kolab2FA/Driver/TOTP.php b/plugins/kolab_2fa/lib/Kolab2FA/Driver/TOTP.php
--- a/plugins/kolab_2fa/lib/Kolab2FA/Driver/TOTP.php
+++ b/plugins/kolab_2fa/lib/Kolab2FA/Driver/TOTP.php
@@ -77,9 +77,6 @@
$this->backend->setLabel($this->username)->setSecret($secret);
- // PHP gets a string, but we're comparing integers.
- $code = (int)$code;
-
// Pass a window to indicate the maximum timeslip between client (mobile
// device) and server.
$pass = $this->backend->verify($code, $timestamp, 150);

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 3, 11:59 PM (1 d, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18827346
Default Alt Text
D4370.1775260765.diff (581 B)

Event Timeline