summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic BERLEMONT <ludovic.berlemont@oxand.com>2016-03-24 18:30:08 +0100
committerLudovic BERLEMONT <ludovic.berlemont@oxand.com>2016-03-24 18:30:08 +0100
commita1ffc13f771c210f812499e3b8d8a4b2ce4cad9a (patch)
tree14aaf6a6acad4bdd60c0df229c5cb62eb861480f
parentbe9a11b400974f1460d279f4ffa75caf79131a55 (diff)
downloadsso-a1ffc13f771c210f812499e3b8d8a4b2ce4cad9a.zip
sso-a1ffc13f771c210f812499e3b8d8a4b2ce4cad9a.tar.gz
sso-a1ffc13f771c210f812499e3b8d8a4b2ce4cad9a.tar.bz2
Re-define error level
-rw-r--r--src/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.php b/src/Server.php
index 0496b85..87b66cc 100644
--- a/src/Server.php
+++ b/src/Server.php
@@ -110,7 +110,7 @@ abstract class Server
$clientAddr = $this->getSessionData('client_addr');
if (!$clientAddr) {
- return $this->fail("Unknown client IP address for the attached session", 500);
+ return $this->fail("Unknown client IP address for the attached session", 403);
}
if ($this->generateSessionId($brokerId, $token, $clientAddr) != $sid) {