Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117718857
D375.1774888531.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
566 B
Referenced Files
None
Subscribers
None
D375.1774888531.diff
View Options
diff --git a/plugins/kolab_2fa/lib/Kolab2FA/Driver/Yubikey.php b/plugins/kolab_2fa/lib/Kolab2FA/Driver/Yubikey.php
--- a/plugins/kolab_2fa/lib/Kolab2FA/Driver/Yubikey.php
+++ b/plugins/kolab_2fa/lib/Kolab2FA/Driver/Yubikey.php
@@ -107,6 +107,10 @@
// truncate the submitted yubikey code to 12 characters
$value = substr($value, 0, 12);
}
+ // invalid or no yubikey token provided
+ elseif ($key == 'yubikeyid') {
+ return false;
+ }
return parent::set($key, $value, $persistent);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 4:35 PM (4 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18817290
Default Alt Text
D375.1774888531.diff (566 B)
Attached To
Mode
D375: Don't accept invalid yubikey tokens
Attached
Detach File
Event Timeline