Skip to content

Add logout Rest endpoint

Alex requested to merge logout-endpoint into master

What does this MR do?

This adds a logout endpoint in UserRestController, which is simply a forward to session->logout() (similar to the LogoutController).

How confident are you it won't break things if deployed?

Very confident, it works fine with the Android app. I don't think a test is necessary

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))

Merge request reports