RocketChat / RocketChat/Rocket.Chat

Administration >> Users >> Edit Profile - I was logged out when saving changes on profile update

Open
#24,083 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When I want to edit my profile under Admin >> Users, I was logged out when trying to save changes

Steps to reproduce:
  1. Sign in as an admin
  2. Go to Administrator >> Users
  3. Select the current user in the table and click on Edit
  4. From Profile page, edit one of the info (e.g. bio, or change the avatar)
  5. Click Save. Enter the password to verify the account
Expected behavior:

I should be able to save the changes

Actual behavior:

I was logged out when trying to save the changes. 401 error displays in the console

Please open this link to see additional information including video, console errors, technical info and system info:
https://app.birdeatsbug.com/sessions/HAOLmPMdWz1s1I65i4f81?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through Administrator > Users, editing the current user's profile, and saving after password verification. Inspect the resulting 401 response and logout behavior; done means profile changes save successfully without logging the administrator out.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.