mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update PHPMyAdminController.php
This commit is contained in:
parent
e0291b5d8f
commit
8c6ba29718
1 changed files with 2 additions and 1 deletions
|
@ -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('/'));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue