Updated Login to use the script_vars helper function

This commit is contained in:
Alex Tselegidis 2021-12-17 10:53:22 +01:00
parent a40bd3f6c6
commit 16cea9e6a9

View file

@ -29,7 +29,7 @@ class Login extends EA_Controller {
$this->load->library('accounts');
$this->load->library('email_messages');
js_config([
script_vars([
'dest_url' => session('dest_url', site_url('backend')),
]);
}