Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating (Super) User account information fails via one method but not via another #92

Open
morsedl opened this issue Jun 6, 2024 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@morsedl
Copy link

morsedl commented Jun 6, 2024

When first setting up Cyborg Backup (CB), an administrative (super) user is set up that has no First or Last Name and subsequently displayed as "John Doe".

I can successfully change this (first) super-user's First and Last Name if I click on the person icon / John Doe label in the upper-right hand corner of the page and select "Profile" from the pop-down menu that appears.

However, if I navigate to Users -> List Users and choose to edit this (sole) user, setting the First Name and Last Name and then pressing the corresponding orange "Save" button yields a "Error on Update / [object Object]" error message and the account info remains unchanged.

@morsedl
Copy link
Author

morsedl commented Jun 6, 2024

Well, my assessment may be incorrect, as I just encountered the same error via the Icon -> Profile method, which hasn't happened in previous testing.

In both cases I believe I had to log off and then back in and then immediately try via Icon -> Profile to get things to work (which just now again worked).

At any rate, there's clearly some minor "wonky" (strange) issue here.

@morsedl
Copy link
Author

morsedl commented Jun 6, 2024

Also, even if the save is successful, John Doe is displayed as the name until one logs off and back on.

@GaetanF
Copy link
Collaborator

GaetanF commented Jun 9, 2024

Hello,

The display information are stored in the JWT token and it's not updated when user is updated. Later I will move the user information on /me endpoint but temporarily I trigger a JWT update when current user is modified. It's already updated on develop branch.

Regards

@GaetanF GaetanF added this to the v0.6.0 milestone Dec 23, 2024
@GaetanF GaetanF added the bug Something isn't working label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants