summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-24 09:00:12 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-24 09:00:12 +0000
commit4ca89787bb4717b19519324a21f7a6896c5673df (patch)
treea352d342b72797722b835aedb2932a54540433cd
parent66b55a2fcbf48b234884596bc574dc2c65e1a3f0 (diff)
Don't check request token on login
git-svn-id: https://svn.roundcube.net/trunk@2793 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index a6a7d7dba..3bb1227bb 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -2,7 +2,7 @@
/*
+-------------------------------------------------------------------------+
| RoundCube Webmail IMAP Client |
- | Version 0.3-20090721 |
+ | Version 0.3-20090724 |
| |
| Copyright (C) 2005-2009, RoundCube Dev. - Switzerland |
| |
@@ -149,7 +149,7 @@ if ($OUTPUT->ajax_call) {
}
}
// check request token in POST form submissions
-else if (!empty($_POST) && !$RCMAIL->check_request()) {
+else if (!empty($_POST) && $RCMAIL->action != 'login' && !$RCMAIL->check_request()) {
$OUTPUT->show_message('invalidrequest', 'error');
$OUTPUT->send($RCMAIL->task);
}