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

updated web.py to make session permanent #547

Merged

Conversation

rosechar
Copy link
Contributor

@rosechar rosechar commented Apr 4, 2020

to maintain language preference

Copy link
Contributor

@indatwood indatwood left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Glandos
Copy link
Member

Glandos commented Apr 5, 2020

Is it required to make the session permanent for each request?

Why not setting it permanent after successful authentication in authenticate?

@rosechar
Copy link
Contributor Author

rosechar commented Apr 5, 2020

@Glandos yes that is true. In the issue request (#135) it mentioned to configure the session is here so I did that but I will move it to after authentication since that is preferred

@Glandos
Copy link
Member

Glandos commented Apr 7, 2020

I'm not an expert of Flask sessions, but what I found on Q&A makes me think it's better like this.
We can simply revert this in case of troubles :)

@Glandos Glandos changed the title updated run.py to make session permanent updated web.py to make session permanent Apr 7, 2020
@Glandos Glandos merged commit 4b79efe into spiral-project:master Apr 7, 2020
@zorun zorun added this to the v5 milestone Jul 17, 2020
TomRoussel pushed a commit to TomRoussel/ihatemoney that referenced this pull request Mar 2, 2024
* moved making session permanent to after authentication in web.py

Co-authored-by: Charlie Rose <charlierose@Charlies-MacBook-Pro.local>
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.

None yet

4 participants