-
-
Notifications
You must be signed in to change notification settings - Fork 771
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
Fix error in /tip for non-logged in user #7938
Conversation
@sebastiantf a neater way to go about this would be to add the @login_required decorator in views.py file |
@thelostone-mc When Also, Should I revert this commit and use the decorator? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a syntatic sugar enhancement. could do good.
@sebastiantf yup would be cleaner ! plus there is no reason for folks to use /tiop without being logged in |
22b9896
to
5d61759
Compare
@thelostone-mc Done 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks :D
Description
Follow-up for #7830
Fixes showing this error for non-logged-in user:
Refers/Fixes
#7830 (comment)
Screenshot
This user is not logged in: