-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
[Frontend] Current user shows freshly created user instead of admin user #470
Comments
Hail, @m-danya 👋 Welcome to Fief's kingdom! Our team will get back to you very soon to help. In the meantime, take a minute to star our repository ⭐️ Want to support us?Subscribe to one of our paid plan to help us continue our work and receive exclusive information and benefits! Starts at $5/month 🪙 Farewell! |
Oh, that's a fun one :) When editing a user in the admin dashboard, we set a fief/fief/apps/dashboard/routers/users.py Lines 148 to 159 in 59f11ff
We probably should have a more specific name like |
Follow quickstart from docs with ghcr.io/fief-dev/fief:0.29.2 Go to /admin, it return error page,not redirect to login page Go to/login ,I can login with start up user, but the user is not a admin, it can not access dashboard, only user info page. Cloud or self-hosted: self-hosted |
Describe the bug
After creating a user from admin panel, the "Current user" widget shows the freshly created user instead of admin user.
See the gif below:
To Reproduce
Steps to reproduce the behavior:
Follow quickstart from docs with
ghcr.io/fief-dev/fief:0.28.9
(latest is not working rn, see #469).Go to
/admin
, create user, check the current user widget in right top corner. It's not the admin user anymore.Expected behavior
The current user widget does not change after creating new user in admin panel.
Configuration
The text was updated successfully, but these errors were encountered: