password reset support for rouncube webmail

This commit is contained in:
Serghey Rodin 2012-12-28 11:39:01 +02:00
commit eb40d64132
5 changed files with 306 additions and 1 deletions

View file

@ -1,6 +1,6 @@
<?php
// Check user session
if (!isset($_SESSION['user'])) {
if ((!isset($_SESSION['user'])) && (!isset($api_mode))) {
$_SESSION['request_uri'] = $_SERVER['REQUEST_URI'];
header("Location: /login/");
exit;