I'm trying to logout a user after they submitted a webform.
I tried redirecting the user to my logout link '/user/logout' by using the webform settings under confirmation.
The confirmation type of my webform is a URL (redirects to a custom path or URL).
I've set that custom path to '/user/logout', but it just refreshes the page. Even though, the submit was succesfull.
Can anyone help me with this? Thanks in advance