Repository navigation
fix(core): move twofactor_backupcodes to defaultEnabled - #65272
Conversation
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
…abled twofactor_backupcodes is a 2FA backup-code provider, not core server infrastructure. As an alwaysEnabled app it cannot be disabled by admins, which causes operational issues: - The migration job (fixMissingProviderStates) writes provider-state rows on every upgrade even when 2FA is not used - Backup-code reminder notifications fire after upgrades - Deployments that use alternative 2FA backup mechanisms or no 2FA at all cannot opt out Every other 2FA provider (twofactor_totp, twofactor_nextcloud_notification) is either defaultEnabled or not enabled by default. Moving twofactor_backupcodes to defaultEnabled preserves the enabled-by-default behavior for fresh installs while allowing admins to disable it. Signed-off-by: dsyzov <dmytro.syzov@nextcloud.com>
0217262 to
635ca87
Compare
|
Possible performance regression detected Show Output |
Summary
twofactor_backupcodes is a 2FA backup-code provider, not core server infrastructure. As an alwaysEnabled app it cannot be disabled by admins, which causes operational issues:
Every other 2FA provider (twofactor_totp, twofactor_nextcloud_notification) is either defaultEnabled or not enabled by default. Moving twofactor_backupcodes to defaultEnabled preserves the enabled-by-default behavior for fresh installs while allowing admins to disable it.
Alternative to: #64371
Checklist
3. to review, feature component)stable32)AI (if applicable)