]> source.dussan.org Git - nextcloud-server.git/commit
Convert 2FA token type to string 25275/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Fri, 22 Jan 2021 13:09:37 +0000 (14:09 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Fri, 22 Jan 2021 13:09:37 +0000 (14:09 +0100)
commit99d525eb36d8e3e14dbf72f5fb66b8554dce357c
tree28ff363dba6e0e54d8fe3c2c46457fcee8a8ca85
parentb28cea626857a6ffa458558c9e45d451ac6ec9a2
Convert 2FA token type to string

The IConfig service is documented to handle its data as strings, hence
this changes the code a bit to ensure we store keys as string and
convert them back when reading.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/Authentication/TwoFactorAuth/Manager.php
tests/lib/Authentication/TwoFactorAuth/ManagerTest.php