diff --git a/application/controllers/Login.php b/application/controllers/Login.php index 14a70008..9a92061d 100644 --- a/application/controllers/Login.php +++ b/application/controllers/Login.php @@ -28,6 +28,10 @@ class Login extends EA_Controller { $this->load->library('accounts'); $this->load->library('email_messages'); + + js_config([ + 'dest_url' => session('dest_url', site_url('backend')), + ]); } /**