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: impersonate logout #211

Merged
merged 2 commits into from
May 22, 2023
Merged

fix: impersonate logout #211

merged 2 commits into from
May 22, 2023

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented May 19, 2023

We have a hackish way to adjust logout for impersonate users which relies on the HTML structure. On major releases this changed, so the original logout logic was in place.

The selectors were adjusted, and also wait until the target elements are actually available. Use of jQuery was removed along.

Fixes #133

We have a hackish way to adjust logout for impersonate users which
relies on the HTML structure. On major releases this changed, so the
original logout logic was in place.

The selectors were adjusted, and also wait until the target elements are
actually available. Use of jQuery was removed along.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member Author

blizzz commented May 19, 2023

/backport to stable27

@blizzz
Copy link
Member Author

blizzz commented May 19, 2023

  • Needs to be tested on 26 and 25, but I expect it'll work there as well.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member Author

blizzz commented May 22, 2023

/backport to stable26

@blizzz
Copy link
Member Author

blizzz commented May 22, 2023

/backport to stable25

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Works and code looks good :) And yay for one app less using jQuery 😁

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.

After impersonate, Logout redirects to system logout
2 participants