diff options
author | thomascube <thomas@roundcube.net> | 2009-07-24 09:00:12 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-07-24 09:00:12 +0000 |
commit | 826ceecab857d72d7cf8b2a347537f4f9b4bdd15 (patch) | |
tree | de54a38275b9090fd23b0a6d11c9a81b0ab242d3 /index.php | |
parent | 186938dac6d2be1c69ed114ece0b37565769d49f (diff) |
Don't check request token on login
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |