mirror of
https://github.com/requarks/wiki.git
synced 2026-03-02 22:57:36 -05:00
Deleting users fails if password was changed #1199
Labels
No labels
BETA
BETA
accessibility
backlog
bug
can't replicate
contrib-easy
contrib-hard
contrib-medium
deferred
documentation
duplicate
duplicate
editors
enhancement
invalid
localization
migrate
ui
under review
v3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wiki#1199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jschirrmacher on GitHub (Mar 15, 2020).
Originally assigned to: @NGPixel on GitHub.
Describe the bug
If users change their password, it is not possible to delete this users any more, even they never created a page or anything else. Instead, I get a foreign constraint error in the logs:
Actually, the userKey generated for this user was already long outdated (several days), so this token was not valid any more.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user should be deleted, and the token should be removed with the user (cascading). User deletion should work.
Host Info (please complete the following information):