Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Feb 26, 2025

Sessions created during the login flow v2 should be short-lived.

@artonge artonge added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Feb 26, 2025
@artonge artonge added this to the Nextcloud 32 milestone Feb 26, 2025
@artonge artonge self-assigned this Feb 26, 2025
@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable31

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable30

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable29

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable28

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable27

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable26

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable25

Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the artonge/fix/login_flow_v2_sessions_2 branch from 03b410d to c629320 Compare February 26, 2025 12:42
@artonge artonge enabled auto-merge February 26, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants