nextcloud / nextcloud/server

Allow enforcing 2FA only if current admin has 2FA enabled

Open
#12,269 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: authentication low
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

This was brought up in https://github.com/nextcloud/server/issues/12249.

Without this, an admin that does not read the warnings will lock themselves out.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #12249 and locating the existing 2FA enforcement entry points and tests; this issue names no files or tests. Done means the enforcement behavior accounts for whether the current admin has 2FA enabled, with coverage for the lockout scenario described here.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.