-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: An admin can now change a user's data again. An error occurred
because the check against duplicate usernames was wrong. The change of the user data by the user himself was not affected. It was always only checked whether the username already existed, not whether this user was being changed. However, the username was and is only transferred for admins, since only admins are allowed to change it.
- Loading branch information
1 parent
85c07a5
commit 0fda2b6
Showing
2 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters