diff --git a/modules/core/lib/Controller/Login.php b/modules/core/lib/Controller/Login.php
index cc1c16af66efc1726dc41aec84fd31baa299fad4..99b13664e7a1e0edecd7260e34b73a4b7aedd869 100644
--- a/modules/core/lib/Controller/Login.php
+++ b/modules/core/lib/Controller/Login.php
@@ -188,7 +188,7 @@ class Login
         $auth = new Auth\Simple($as);
         return new RunnableResponse(
             [$auth, 'logout'],
-            [$this->config->getBasePath() . 'core/logout/' . urlencode($as)]
+            [$this->config->getBasePath()]
         );
     }