Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117793947
D4370.1775260765.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
581 B
Referenced Files
None
Subscribers
None
D4370.1775260765.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4370: Fix TOTP authentication
Attached
Detach File
Event Timeline