Update PHPMyAdminController.php

This commit is contained in:
Bozhidar 2024-09-13 12:34:31 +03:00
parent e0291b5d8f
commit 8c6ba29718

View file

@ -11,6 +11,7 @@ class PHPMyAdminController extends Controller
{
public function login($id)
{
///usr/share/doc/phpmyadmin.
$hostingSubscription = HostingSubscription::where('id', $id)
// ->where('customer_id', auth()->user()->id)// TODO
@ -34,7 +35,7 @@ class PHPMyAdminController extends Controller
$currentUrl = url('/');
$currentUrl = str_replace(':8443', ':8440', $currentUrl);
return redirect($currentUrl . '/phyre-sso.php?server=1&token=' . $ssoToken->token);
return redirect($currentUrl . '/phyre-sso.php?server=1&token=' . $ssoToken->token . '&panel_url=' . url('/'));
}