We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 occ twofactor_webauthn:migrate-u2f --all
The message Migrating devices of user X should only be displayed for users with actual u2f keys registered.
Migrating devices of user X
The message is displayed for all users, even if they don't have any registered u2f keys to migrate
An easy fix is to make sure the following line only executes if count($registrations) > 0.
count($registrations) > 0
twofactor_webauthn/lib/Command/MigrateU2F.php
Line 123 in 419dc09
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
php occ twofactor_webauthn:migrate-u2f --all
Expected behaviour
The message
Migrating devices of user X
should only be displayed for users with actual u2f keys registered.Actual behaviour
The message is displayed for all users, even if they don't have any registered u2f keys to migrate
Fix
An easy fix is to make sure the following line only executes if
count($registrations) > 0
.twofactor_webauthn/lib/Command/MigrateU2F.php
Line 123 in 419dc09
The text was updated successfully, but these errors were encountered: