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

Check loggedin #91

Merged
merged 5 commits into from
Jul 30, 2024
Merged

Check loggedin #91

merged 5 commits into from
Jul 30, 2024

Conversation

ruanclaudio
Copy link
Collaborator

branch that creates an endpoint that returns whether the user still has their session enabled, returning an HTTPResponse_200 with the session_key. And when the user doesn't have their session enabled, it returns an HTTPResponse_403.

api/urls.py Outdated
path("v1/user/info/", views.user_info_view, name="user_info"),
path("v1/check/loggedin/", views.check_user_is_loggedin, name="check_user_loggedin"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sugestão: v1/user/auth/

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coloca essas urls em ordem alfabética tb

@ivancrneto ivancrneto merged commit 4f27199 into gogixweb:main Jul 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants