Keep backwards compatibility with AUTH_MDP.
authorStéphane Jacob <sj@m4x.org>
Tue, 13 Sep 2011 09:14:15 +0000 (11:14 +0200)
committerStéphane Jacob <sj@m4x.org>
Tue, 13 Sep 2011 09:14:15 +0000 (11:14 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/plsession.php

index 92e65aa..31200a0 100644 (file)
@@ -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.