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

Adds route to create test user for dev purposes #248

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

ewainberg
Copy link
Collaborator

The route currently creates a dummy user and redirects you to the profile. An interface can be added and so can more user details. Idea: drop down menu to switch between users?

@jontyms
Copy link
Member

jontyms commented Feb 19, 2025

Make 5 hard-coded users in various states
1 admin
2 Dues paying member
3 Ethics form filled out no payment
4 nothing
5 nothing

Comment on lines +54 to +61
rr.set_cookie(
key="token",
value=bearer,
httponly=True,
samesite="lax",
secure=False,
max_age=max_age,
)

Check warning

Code scanning / CodeQL

Failure to use secure cookies Medium

Cookie is added without the Secure attribute properly set.
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