Skip to content
New issue

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

fix: Allow disabling MFA with recovery codes #12014

Merged
merged 8 commits into from
Dec 4, 2024

Conversation

RicardoE105
Copy link
Contributor

@RicardoE105 RicardoE105 commented Dec 2, 2024

Summary

Builds on top of #11908

1 - Allow users to disable MFA also using the recovery code

Before

image

Now

CleanShot 2024-11-27 at 11 16 51@2x

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/ADO-2936/can-not-disable-mfa-with-recovery-code

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@RicardoE105 RicardoE105 changed the title allow disabling mfa with recovery codes fix: Allow disabling MFA with recovery codes Dec 2, 2024
@RicardoE105 RicardoE105 changed the base branch from master to standardize-mfa-code-naming December 2, 2024 20:15
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Dec 2, 2024
@RicardoE105 RicardoE105 requested a review from tomi December 2, 2024 20:38
tomi
tomi previously approved these changes Dec 3, 2024
Copy link
Contributor

@tomi tomi left a comment

Choose a reason for hiding this comment

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

LGTM 👍 One optional suggestion

packages/cli/src/controllers/mfa.controller.ts Outdated Show resolved Hide resolved
Base automatically changed from standardize-mfa-code-naming to master December 3, 2024 12:15
@RicardoE105 RicardoE105 dismissed tomi’s stale review December 3, 2024 12:15

The base branch was changed.

RicardoE105 and others added 2 commits December 4, 2024 09:19
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
@RicardoE105 RicardoE105 requested a review from tomi December 4, 2024 14:25
tomi
tomi previously approved these changes Dec 4, 2024
Copy link
Contributor

@tomi tomi left a comment

Choose a reason for hiding this comment

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

🚀

Copy link

cypress bot commented Dec 4, 2024

n8n    Run #8208

Run Properties:  status check passed Passed #8208  •  git commit 6c0a39aa9f: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 RicardoE105 🗃️ e2e/*
Project n8n
Branch Review allow-disabling-mfa-with-recovery-codes
Run status status check passed Passed #8208
Run duration 04m 41s
Commit git commit 6c0a39aa9f: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 RicardoE105 🗃️ e2e/*
Committer Ricardo Espinoza
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 480
View all changes introduced in this branch ↗︎

Copy link
Contributor

github-actions bot commented Dec 4, 2024

✅ All Cypress E2E specs passed

@RicardoE105 RicardoE105 merged commit 95d56fe into master Dec 4, 2024
37 of 38 checks passed
@RicardoE105 RicardoE105 deleted the allow-disabling-mfa-with-recovery-codes branch December 4, 2024 15:02
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 57.89474% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...mponents/PromptMfaCodeModal/PromptMfaCodeModal.vue 0.00% 13 Missing ⚠️
packages/cli/src/mfa/mfa.service.ts 88.88% 1 Missing ⚠️
packages/editor-ui/src/stores/users.store.ts 50.00% 1 Missing ⚠️
...kages/editor-ui/src/views/SettingsPersonalView.vue 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@github-actions github-actions bot mentioned this pull request Dec 11, 2024
@janober
Copy link
Member

janober commented Dec 11, 2024

Got released with n8n@1.72.0

riascho pushed a commit that referenced this pull request Jan 14, 2025
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants