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

Fix: Disable auto-login for API token requests #5094

Merged
merged 2 commits into from Dec 26, 2023

Conversation

shamoon
Copy link
Member

@shamoon shamoon commented Dec 23, 2023

Proposed change

I realize specifying the request method is probably unnecessary but wanted it to be as narrow as possible.

Closes #5090

Type of change

  • Bug fix: non-breaking change which fixes an issue.
  • New feature: non-breaking change which adds functionality. Please read the important note above.
  • Breaking change: fix or feature that would cause existing functionality to not work as expected.
  • Documentation only.
  • Other. Please explain:

Checklist:

  • I have read & agree with the contributing guidelines.
  • If applicable, I have included testing coverage for new code in this PR, for backend and / or front-end changes.
  • If applicable, I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • If applicable, I have checked that all tests pass, see documentation.
  • I have run all pre-commit hooks, see documentation.
  • I have made corresponding changes to the documentation as needed.
  • I have checked my modifications for any breaking changes.

@shamoon shamoon requested a review from a team as a code owner December 23, 2023 17:16
@github-actions github-actions bot added the bug Bug report or a Bug-fix label Dec 23, 2023
@shamoon shamoon enabled auto-merge (squash) December 23, 2023 17:16
@shamoon shamoon force-pushed the fix/5090-auto-login-token-request branch from eb874bb to 4055e07 Compare December 26, 2023 22:16
@shamoon shamoon merged commit 5576a07 into dev Dec 26, 2023
28 checks passed
@shamoon shamoon deleted the fix/5090-auto-login-token-request branch December 26, 2023 22:22
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend bug Bug report or a Bug-fix small-change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] API token request unusable when using PAPERLESS_AUTO_LOGIN_USERNAME
3 participants