From: Stéphane Jacob Date: Tue, 13 Sep 2011 09:14:15 +0000 (+0200) Subject: Keep backwards compatibility with AUTH_MDP. X-Git-Tag: core/1.1.6~7 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=696f90471eff3acbf0a30477777f44fcea31f7d9;p=platal.git Keep backwards compatibility with AUTH_MDP. Signed-off-by: Stéphane Jacob --- 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.