Skip to content

feat: Add SetupCheck to warn about missing second factor provider#57854

Merged
nickvergessen merged 3 commits intomasterfrom
feat/add-twofactor-warning
Feb 5, 2026
Merged

feat: Add SetupCheck to warn about missing second factor provider#57854
nickvergessen merged 3 commits intomasterfrom
feat/add-twofactor-warning

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Jan 27, 2026

Summary

Add warning if no two factor auth provider is found.

Checklist

@come-nc come-nc self-assigned this Jan 27, 2026
@come-nc come-nc added the 3. to review Waiting for reviews label Jan 27, 2026
@come-nc come-nc requested review from Altahrim, ArtificialOwl, icewind1991 and salmart-dev and removed request for a team January 27, 2026 16:07
@come-nc
Copy link
Contributor Author

come-nc commented Jan 27, 2026

/backport to stable33

@come-nc
Copy link
Contributor Author

come-nc commented Jan 27, 2026

/backport to stable32

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments. I don't think this should succeed when only backup codes are available. It needs at least one real 2FA provider.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
In practice this filters out backup codes. Also fixed the english
 formulation and the copyright year.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the feat/add-twofactor-warning branch from bc8c02c to 8475bed Compare February 2, 2026 10:55
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the feat/add-twofactor-warning branch from f7e0f8e to 26cec2d Compare February 3, 2026 14:51
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but did not test

@szaimen szaimen added this to the Nextcloud 34 milestone Feb 3, 2026
@jospoortvliet
Copy link
Member

thanks team!

@nickvergessen nickvergessen merged commit 1590630 into master Feb 5, 2026
212 of 245 checks passed
@nickvergessen nickvergessen deleted the feat/add-twofactor-warning branch February 5, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add warning to Setup Checks when 2FA is not enabled and when instance is outdated

6 participants