diff --git a/application/controllers/Login.php b/application/controllers/Login.php index f7945144..735d2d23 100644 --- a/application/controllers/Login.php +++ b/application/controllers/Login.php @@ -40,6 +40,11 @@ class Login extends EA_Controller */ public function index() { + if (session('user_id')) { + redirect('calendar'); + return; + } + html_vars([ 'page_title' => lang('login'), 'base_url' => config('base_url'),