Set the "dest_url" js config

This commit is contained in:
Alex Tselegidis 2021-12-14 08:06:10 +01:00
parent e8a1976521
commit 12e4eebd1f

View file

@ -28,6 +28,10 @@ class Login extends EA_Controller {
$this->load->library('accounts'); $this->load->library('accounts');
$this->load->library('email_messages'); $this->load->library('email_messages');
js_config([
'dest_url' => session('dest_url', site_url('backend')),
]);
} }
/** /**