-
Notifications
You must be signed in to change notification settings - Fork 14
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
Need the current_user #31
Comments
Hello @furjac , thank you for submitting an issue! A project committer will shortly review the issue. |
You need to use a session management tool such as flask-session. This is out of scope for this repo. |
@Lxstr see i build cli tools yep cli i used pyrebase it was fine working but the problem is email verification link was not coming correctly thats why i came here |
current_user property was dropped because of security vulnerability, and it will not be supported. If current_user property is used, it'll provide access of one logged in user to every other user, because the creds/token is stored as an object attribute value, which is not specific to each user separately. |
yea i see and i found a solution correct me if im wrong
|
Yeah it seems fine. I thought you needed that generic auth.current_user to be used everywhere else, thus @Lxstr mentioned session management tools. But if your need only applies to per case, it'll work fine. |
i still have this doubt
here how do i get the email this function is seperate i tried global it doesnt work |
Is your proposal related to a problem?
Describe the solution you'd like.
Describe alternatives you've considered.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: