projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f968d81
)
Keep backwards compatibility with AUTH_MDP.
author
Stéphane Jacob
<sj@m4x.org>
Tue, 13 Sep 2011 09:14:15 +0000
(11:14 +0200)
committer
Sté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
patch
|
blob
|
blame
|
history
diff --git
a/classes/plsession.php
b/classes/plsession.php
index
92e65aa
..
31200a0
100644
(file)
--- 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.