diff options
| author | 2012-10-25 19:06:32 +0200 | |
|---|---|---|
| committer | 2012-10-25 19:06:32 +0200 | |
| commit | 3ff51a59ba97f3ef1df3c26df16d9a3ab5789843 (patch) | |
| tree | 89de7b553f5b8240ad0d9f766800973f9845a121 /app/controllers/entryController.php | |
| parent | 48a1aa7d52e712d5f64a33a003b31f23a00b99f5 (diff) | |
Ajout fonctionnalité connexion avec Persona (à améliorer sans doute)
Diffstat (limited to 'app/controllers/entryController.php')
| -rwxr-xr-x | app/controllers/entryController.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php index 3d9734ca9..cf510e362 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -2,6 +2,13 @@ class entryController extends ActionController { public function firstAction () { + if (login_is_conf ($this->view->conf) && !is_logged ()) { + Error::error ( + 403, + array ('error' => array ('Vous n\'avez pas le droit d\'accéder à cette page')) + ); + } + $ajax = Request::param ('ajax'); if ($ajax) { $this->view->_useLayout (false); |
