mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
password reset support for rouncube webmail
This commit is contained in:
parent
32bb9ffbcc
commit
eb40d64132
5 changed files with 306 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue