From 696f90471eff3acbf0a30477777f44fcea31f7d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 13 Sep 2011 11:14:15 +0200 Subject: [PATCH] Keep backwards compatibility with AUTH_MDP. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- classes/plsession.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/plsession.php b/classes/plsession.php index 92e65aa..31200a0 100644 --- a/classes/plsession.php +++ b/classes/plsession.php @@ -27,6 +27,8 @@ define('AUTH_SUID', -1); define('AUTH_PUBLIC', 0); define('AUTH_COOKIE', 5); define('AUTH_PASSWD', 10); +// Backwards compatibility: AUTH_MDP must be an alias for AUTH_PASSWD. +define('AUTH_MDP',    10); /** The PlSession is a wrapper around the user session management. -- 2.1.4