Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How can I disable the logout confirmation?
businessdad
MVP
Answers
What do you mean? Is this related to a plugin? Standard vanilla gives me an option to click signout and it signs me out. Maybe an image of what you are talking about would help.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
In my installation, when I click "Sign out", I get a page which tells me something like "Are you sure you want to sign out?". Now you made me doubt that it might be due to the theme. I'm going to check.
My shop | About Me
try using the default theme and see if you get a signout confirmation.
maybe you are hitting
vanilla/applications/dashboard/views/entry/signout.php
(I'm sure you know what to do if you use and see this code and want to remove it)
or a similar signout.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Ok, it's not the theme, but I figured out what was wrong. This installation uses Jsconnect, requiring authentication on another site. One of the requirements is that, when User clicks "logout" on Vanilla, the logout happens on the other website first, and then on Vanilla (so that a single logout closes both sessions).
The way it's implemented is by having Vanilla's "Sign out" link pointing to the logout URL on the other website, which after logging out the User, redirects to the logout URL of Vanilla. The issue was that such URL didn't contain the transient key, effectively making the action somewhat suspicious and requiring confirmation to proceed. You can easily replicate the behaviour by copying the logout link from the menu, removing the transient key and pasting it in the address bar.
Bottom line: everything is fine, Vanilla was just trying to protect the User (it's even safer than the horrible Magento we're using for the ecommerce, such validation doesn't exist in it).
My shop | About Me