[PR #1414] [MERGED] fix(user): do not reject 2fa for local users #4946

Closed
opened 2026-04-16 13:22:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1414
Author: @kolaente
Created: 9/4/2025
Status: Merged
Merged: 9/4/2025
Merged by: @kolaente

Base: mainHead: fix/2fa-local-user


📝 Commits (2)

  • f7aea32 fix(user): do not reject 2fa for local users
  • ef9fb8e refactor: use helper function to check user local

📊 Changes

3 files changed (+80 additions, -47 deletions)

View changed files

📝 pkg/routes/api/v1/user_totp.go (+25 -47)
📝 pkg/webtests/integrations.go (+2 -0)
pkg/webtests/user_totp_test.go (+53 -0)

📄 Description

Resolves https://github.com/go-vikunja/vikunja/issues/1402


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1414 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix/2fa-local-user` --- ### 📝 Commits (2) - [`f7aea32`](https://github.com/go-vikunja/vikunja/commit/f7aea32a1a669c827223b4ddfb60273b2c64bb7f) fix(user): do not reject 2fa for local users - [`ef9fb8e`](https://github.com/go-vikunja/vikunja/commit/ef9fb8e6b2445e9a4a38039463bd8e9523c6bb18) refactor: use helper function to check user local ### 📊 Changes **3 files changed** (+80 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `pkg/routes/api/v1/user_totp.go` (+25 -47) 📝 `pkg/webtests/integrations.go` (+2 -0) ➕ `pkg/webtests/user_totp_test.go` (+53 -0) </details> ### 📄 Description Resolves https://github.com/go-vikunja/vikunja/issues/1402 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 13:22:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#4946