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 content types of UserController#loginUser and UserController#logoutUser #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jankoekenpan
Copy link

Currently, the response bodies for the endpoints GET /user/login and GET /user/logout always answer with a plain string, hence the media type should be made independent of the incoming request. This PR fixes this issue by replacing Util.getMediaType(request) with the constant MediaType.TEXT_PLAIN in the corresponding Java methods.

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

1 participant