Skip to content

Renaming any user in admin settings re-authenticates the admin #3877

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Changing the user name of any user in admin settings re-authenticates the admin. Cause: packages/web-app-admin-settings/src/components/Users/SideBar/EditPanel.vue:259-265 checks editUser.id === user.id (always true) instead of comparing with the current user.

Reproduction Steps

  1. Admin settings > Users: edit another user.
  2. Change the user name and save.

Expected Outcome

The admin's own login is only renewed when the admin renames themselves.

Actual Outcome

Every rename triggers a silent re-login. If it fails, saving hangs for ~12s and shows "Failed to edit user", although the server already has the new name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions