From 1e618e49939c9400538c9be3e0d0377906e0f465 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 13 Nov 2021 15:34:33 -0700 Subject: [PATCH] Update the URL to the dashboard --- app/devices/resources/dashboard/device_keys.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/devices/resources/dashboard/device_keys.php b/app/devices/resources/dashboard/device_keys.php index 1431906ee7..4155b4f9a1 100644 --- a/app/devices/resources/dashboard/device_keys.php +++ b/app/devices/resources/dashboard/device_keys.php @@ -66,9 +66,9 @@ //validate the token $token = new token; - if (!$token->validate('/app/devices/device_dashboard.php') && !$token->validate('login')) { + if (!$token->validate('/app/devices/resources/dashboard/device_keys.php') && !$token->validate('login')) { message::add($text['message-invalid_token'],'negative'); - header('Location: '.PROJECT_PATH."/core/user_settings/user_dashboard.php"); + header('Location: '.PROJECT_PATH."/core/dashboard/"); exit; } @@ -431,7 +431,7 @@ //create token $object = new token; - $token = $object->create('/app/devices/device_dashboard.php'); + $token = $object->create('/app/devices/resources/dashboard/device_keys.php'); //show the content echo "
\n";