<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
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);