Site icon Hip-Hop Website Design and Development

logging out with/without confirmation – single site, multisite

I have two wordpress installations: a single one and a multisite with subdirectories. On both my users can logout with the url:

[URL to]/wp-login.php?action=logout&redirect_to=%2Fmydir%2F&_wpnonce=[some_code]

This works on the single site without confirmation, but on the site within the multisite it doesn’t. Here the user needs to confirm the logout.

How can I bypass the confirmation?

Thank you.