mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
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');
|
||||
|
||||
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')
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue