mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
configure phpmyadmin config.inc for auto login
This commit is contained in:
@@ -591,7 +591,7 @@ app.controller('phpMyAdmin', function ($scope, $http, $window) {
|
|||||||
function ListInitialDatas(response) {
|
function ListInitialDatas(response) {
|
||||||
$scope.cyberPanelLoading = true;
|
$scope.cyberPanelLoading = true;
|
||||||
if (response.data.status === 1) {
|
if (response.data.status === 1) {
|
||||||
var rUrl = '/phpmyadmin/signin.php?username=' + response.data.username + '&token=' + response.data.token;
|
var rUrl = '/phpmyadmin/phpmyadminsignin.php?username=' + response.data.username + '&token=' + response.data.token;
|
||||||
$window.location.href = rUrl;
|
$window.location.href = rUrl;
|
||||||
}
|
}
|
||||||
else {}
|
else {}
|
||||||
|
|||||||
Reference in New Issue
Block a user