From 2e91bb700b0ea556d4780a4d80703f3ce8473391 Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 14 Feb 2011 20:40:11 +0000 Subject: Skip new CSRF checks in authentication plugins git-svn-id: https://svn.roundcube.net/trunk@4540 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/autologon/autologon.php | 2 ++ plugins/http_authentication/http_authentication.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/autologon/autologon.php b/plugins/autologon/autologon.php index bc3d2ee76..9601d61a6 100644 --- a/plugins/autologon/autologon.php +++ b/plugins/autologon/autologon.php @@ -31,6 +31,8 @@ class autologon extends rcube_plugin $args['user'] = 'me'; $args['pass'] = '******'; $args['host'] = 'localhost'; + $args['cookiecheck'] = false; + $args['valid'] = true; } return $args; diff --git a/plugins/http_authentication/http_authentication.php b/plugins/http_authentication/http_authentication.php index a8003cf46..6da6488a0 100644 --- a/plugins/http_authentication/http_authentication.php +++ b/plugins/http_authentication/http_authentication.php @@ -5,7 +5,7 @@ * * Make use of an existing HTTP authentication and perform login with the existing user credentials * - * @version 1.1 + * @version 1.2 * @author Thomas Bruederli */ class http_authentication extends rcube_plugin @@ -36,6 +36,7 @@ class http_authentication extends rcube_plugin } $args['cookiecheck'] = false; + $args['valid'] = true; return $args; } -- cgit v1.2.3