-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP: each() is deprecated #20
Comments
This is an issue with the Yubico library. |
I have always used https://github.com/multiOTP/yubicloud-class-php for my yubicloud business, also because it diesnt depend on anything, the business seems the same as described.
just the reply handling seems a bit different. |
Behaviour change - Authentication server is now a full URL.
Upgraded the Yubico library. Ther are a couple of minor usage changes, the useSSL flag now has no function and the authentication server needs to be specified as a full URL (instead of just host/path previously) |
I think this is working. I had a few issues originally but that could have been my Internet connection as it seems solid now with no changes to the server interaction layer. |
Hello, I have the same problem. If I activate the app and enter API information, the registration will work properly. However, as soon as a user wants to remove the key, the following error message appears: Undefined property: OCA\TwoFactor_Yubikey\Service\Yubiotp::$provider at /var/www/nextcloud/apps/twofactor_yubikey/lib/Service/Yubiotp.php#182 and TypeError: Argument 1 passed to OC\Authentication\TwoFactorAuth\Registry::disableProviderFor() must implement interface OCP\Authentication\TwoFactorAuth\IProvider, null given, called in /var/www/nextcloud/apps/twofactor_yubikey/lib/Service/Yubiotp.php on line 182 and The user will not be able to log in afterwards because Nextcloud requires authentication with YubiKey |
The Yubico Plugin spawns a little PHP warning if using PHP >= 7.2 (which basically means any version that is currently fully supported, as PHP 7.1 is down to security only.
The each() function is deprecated. This message will be suppressed on further calls at apps/twofactor_yubikey/vendor/auth_yubico/Yubico.php#395
The text was updated successfully, but these errors were encountered: