Redirect to "calendar" route instead of "backend" after a successful log in.

This commit is contained in:
Alex Tselegidis 2022-01-14 08:34:28 +01:00
parent a89a6d8faf
commit 778edf0b21

View file

@ -30,7 +30,7 @@ class Login extends EA_Controller {
$this->load->library('email_messages');
script_vars([
'dest_url' => session('dest_url', site_url('backend')),
'dest_url' => session('dest_url', site_url('calendar')),
]);
}
@ -41,7 +41,7 @@ class Login extends EA_Controller {
{
html_vars([
'base_url' => config('base_url'),
'dest_url' => session('dest_url', site_url('backend')),
'dest_url' => session('dest_url', site_url('calendar')),
'company_name' => setting('company_name')
]);