mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 07:59:02 +01:00
send an exception when a session has timed out on the server side
This commit is contained in:
parent
27e2d4e631
commit
d6f7343c97
@ -721,8 +721,11 @@ error_log("message");
|
||||
}
|
||||
|
||||
//=============================================================
|
||||
} else {
|
||||
} else if (isset($_SESSION['K'])) {
|
||||
$result["error"] = "Wrong shared secret!";
|
||||
} else {
|
||||
$result["result"] = "EXCEPTION";
|
||||
$result["message"] = "Trying to communicate without an active connection";
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user