From f86ee5e424a07aec32f896535496444c56e28701 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sat, 04 Aug 2012 05:30:02 -0400
Subject: [PATCH] Fix jQuery UI Larry theme (#1488533)

---
 index.php |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/index.php b/index.php
index 54b87ce..ef5733a 100644
--- a/index.php
+++ b/index.php
@@ -211,8 +211,10 @@
   if ($session_error || $_REQUEST['_err'] == 'session')
     $OUTPUT->show_message('sessionerror', 'error', null, true, -1);
 
-  $RCMAIL->set_task('login');
-  $OUTPUT->send('login');
+  $plugin = $RCMAIL->plugins->exec_hook('unauthenticated', array('task' => 'login', 'error' => $session_error));
+
+  $RCMAIL->set_task($plugin['task']);
+  $OUTPUT->send($plugin['task']);
 }
 // CSRF prevention
 else {

--
Gitblit v1.9.1