No description
Find a file
Christoph Erhardt 32f1865339 Fix TOTP authentication
Summary:
Kolab used to depend on version 4 of the otphp library, which returns
its computed OTP codes as integers. Hence, the kolab_2fa plugin converts
the user input to `int` in order to facilitate comparisons using the
`===` operator.

Starting with version 5, which is now bundled with Kolab, otphp returns
a string instead of an integer. Now the comparison is between an `int`
and a `string`, and thus consistently yields `false`. As a result, no
TOTP code is ever accepted.

Fix TOTP authentication by removing the now-obsolete conversion to
`int`.

Reviewers: machniak

Reviewed By: machniak

Differential Revision: https://git.kolab.org/D4370
2023-06-14 14:54:18 +02:00
.tx Update localization (again) 2019-10-13 15:55:15 +02:00
plugins Fix TOTP authentication 2023-06-14 14:54:18 +02:00
source Implemented Tasks Export (T147, #3861) 2016-06-20 10:09:37 +02:00
.arcconfig Add .arcconfig 2016-03-06 09:02:54 +01:00
.gitignore Ship a .gitignore to make it just a little more convenient for developers to run our plugins directly from source 2012-11-30 13:19:36 +00:00
less-build.sh Elastic dark mode 2021-02-01 08:23:07 +01:00
run-tests.sh Add a script to run all tests, fix errors when running tests in non-kolab env 2019-09-29 09:35:30 +02:00
transifexpull.sh Update localization, fix bugs in some localization files 2022-12-01 12:41:13 +01:00