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

Clean up auth tokens when user is deleted #21416

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

ChristophWurst
Copy link
Member

Steps to test

  • Create a new user
  • Log in as that user
  • See a new row appear in oc_authtoken
  • Delete the user again

On master: the row persists.
Here: row vanishes with user.

@ChristophWurst
Copy link
Member Author

/backport to stable19

@ChristophWurst
Copy link
Member Author

/backport to stable18

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

🚀

@juliabode juliabode removed their request for review June 15, 2020 14:41
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst merged commit 5e52c11 into master Jun 16, 2020
@ChristophWurst ChristophWurst deleted the fix/user-deleted-token-cleanup branch June 16, 2020 08:01
@ChristophWurst
Copy link
Member Author

/backport to stable18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants