Actions
Defect #13022
closed
Image pointing towards /logout signs out user
Defect #13022:
Image pointing towards /logout signs out user
Resolution:
Fixed
Affected version:
Description
Creating an image with the source url /logout will automatically sign out any user.
Code
Test case (This will sign you out!)
See issue #13021
This can be annoying and should be prevented by only allowing POST request with a valid CSRF token in the AccountController.logout method (source:trunk/app/controllers/account_controller.rb).
Actions