summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-24 09:00:12 +0000
committerthomascube <thomas@roundcube.net>2009-07-24 09:00:12 +0000
commit826ceecab857d72d7cf8b2a347537f4f9b4bdd15 (patch)
treede54a38275b9090fd23b0a6d11c9a81b0ab242d3 /index.php
parent186938dac6d2be1c69ed114ece0b37565769d49f (diff)
Don't check request token on login
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index a6a7d7dba..3bb1227bb 100644
--- a/index.php
+++ b/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);
}