From fd20067433319d22ec5ace292178bfc3ae19f76d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Apr 2023 09:41:25 -0600 Subject: [PATCH] Remove unused login_destination_url --- core/authentication/resources/classes/plugins/email.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/authentication/resources/classes/plugins/email.php b/core/authentication/resources/classes/plugins/email.php index b86d4a54e4..1a373c3066 100644 --- a/core/authentication/resources/classes/plugins/email.php +++ b/core/authentication/resources/classes/plugins/email.php @@ -54,9 +54,6 @@ class plugin_email { $login_logo_height = 'auto; max-height: 300px'; } - //login destination url - $login_destination_url = $_SESSION['login']['destination']['url']; - //get the domain $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; @@ -91,7 +88,7 @@ class plugin_email { $view->assign("login_logo_height", $login_logo_height); $view->assign("login_logo_source", $login_logo_source); $view->assign("button_login", $text['button-login']); - + //show the views $content = $view->render('username.htm'); echo $content;