forked from mirrors/easyappointments
Redirect to "calendar" route instead of "backend" after a successful log in.
This commit is contained in:
parent
a89a6d8faf
commit
778edf0b21
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ class Login extends EA_Controller {
|
||||||
$this->load->library('email_messages');
|
$this->load->library('email_messages');
|
||||||
|
|
||||||
script_vars([
|
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([
|
html_vars([
|
||||||
'base_url' => config('base_url'),
|
'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')
|
'company_name' => setting('company_name')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue