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);
/** Build the session structure with system fields.
*/
- private function fillSession()
+ protected function fillSession()
{
S::bootstrap('user', null);
S::bootstrap('auth', AUTH_PUBLIC);