[PR #1083] [CLOSED] test(user): verify invalid deletion token #1216

Closed
opened 2025-11-01 21:13:28 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1083
Author: @dpschen
Created: 7/3/2025
Status: Closed

Base: mainHead: feat/replace-todo-with-invalid-token-error


📝 Commits (1)

  • 88d2070 test(user): verify invalid deletion token

📊 Changes

4 files changed (+60 additions, -2 deletions)

View changed files

📝 frontend/src/i18n/lang/en.json (+1 -0)
📝 pkg/user/delete.go (+1 -2)
📝 pkg/user/error.go (+23 -0)
pkg/webtests/user_confirm_deletion_test.go (+35 -0)

📄 Description

  • return a clear error when confirming deletion with an invalid token
  • add english translation for deletion token error
  • test invalid token on account deletion confirmation

🔄 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/1083 **Author:** [@dpschen](https://github.com/dpschen) **Created:** 7/3/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/replace-todo-with-invalid-token-error` --- ### 📝 Commits (1) - [`88d2070`](https://github.com/go-vikunja/vikunja/commit/88d2070838eb670672be4c9f8dcb6036e762d1f8) test(user): verify invalid deletion token ### 📊 Changes **4 files changed** (+60 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/i18n/lang/en.json` (+1 -0) 📝 `pkg/user/delete.go` (+1 -2) 📝 `pkg/user/error.go` (+23 -0) ➕ `pkg/webtests/user_confirm_deletion_test.go` (+35 -0) </details> ### 📄 Description - return a clear error when confirming deletion with an invalid token - add english translation for deletion token error - test invalid token on account deletion confirmation --- <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 2025-11-01 21:13:28 -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#1216