[Svn] r4540 - in trunk/plugins: autologon http_authentication

trac at roundcube.net trac at roundcube.net
Mon Feb 14 21:40:11 CET 2011


Author: thomasb
Date: 2011-02-14 14:40:11 -0600 (Mon, 14 Feb 2011)
New Revision: 4540

Modified:
   trunk/plugins/autologon/autologon.php
   trunk/plugins/http_authentication/http_authentication.php
Log:
Skip new CSRF checks in authentication plugins

Modified: trunk/plugins/autologon/autologon.php
===================================================================
--- trunk/plugins/autologon/autologon.php	2011-02-14 20:01:37 UTC (rev 4539)
+++ trunk/plugins/autologon/autologon.php	2011-02-14 20:40:11 UTC (rev 4540)
@@ -31,6 +31,8 @@
       $args['user'] = 'me';
       $args['pass'] = '******';
       $args['host'] = 'localhost';
+      $args['cookiecheck'] = false;
+      $args['valid'] = true;
     }
   
     return $args;

Modified: trunk/plugins/http_authentication/http_authentication.php
===================================================================
--- trunk/plugins/http_authentication/http_authentication.php	2011-02-14 20:01:37 UTC (rev 4539)
+++ trunk/plugins/http_authentication/http_authentication.php	2011-02-14 20:40:11 UTC (rev 4540)
@@ -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 @@
     }
     
     $args['cookiecheck'] = false;
+    $args['valid'] = true;
   
     return $args;
   }

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list