Skip to content

feat(settings): show TOTP as a switch row with a setup dialog - #1919

Draft
pringelmann wants to merge 1 commit into
masterfrom
feat/63454-form-box-rows
Draft

pringelmann wants to merge 1 commit into
masterfrom
feat/63454-form-box-rows

Conversation

@pringelmann

Copy link
Copy Markdown

Part of nextcloud/server#63454 (security settings redesign).

Summary

The "Enable TOTP" checkbox becomes an "Authenticator app" switch row. Turning it on opens a setup dialog with the QR code, secret and code field. Cancelling or closing the dialog discards the unconfirmed secret, and no longer logs a "TOTP disabled" activity, since TOTP was never on. A wrong code shows in the dialog; other errors use a toast.

Most of the diff is compiled js/ and package-lock.json. The new chunks are lazy ones that @nextcloud/dialogs brings along.

Before After
totp-before-light totp-after-light
totp-before-dark totp-after-dark
totp-before-setup totp-after-setup

Checklist

  • Tests (unit and e2e) updated
  • Screenshots before/after

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant