Replies: 2 comments 3 replies
-
|
how can I get access to create a pull request with my change to be reviewed? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Good that you achieved what you want π However, I don't think it fits in the common library, since it's a quite specific requirement and can have unintended side effects (e.g. allow a user that's actually deleted in DB). Most authentication frameworks work like this. But feel free to share your changes in the Discussions forum :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a use case where I want to use this library to the get current user but I do not want to fetch the user object on every request. This increases the number of DB calls and sometimes just the user id which is stored in the transport is all I need. I have a change to allow the current implementation of current_user and current_user_token to support this new feature where if you set an optional boolean
id_onlythen it will avoid fetching the user object from the user_manager.Beta Was this translation helpful? Give feedback.
All reactions