diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php
index b05c244486..5ab41fbf0b 100644
--- a/app/controllers/api/account.php
+++ b/app/controllers/api/account.php
@@ -30,8 +30,8 @@ use GeoIp2\Database\Reader;
include_once __DIR__ . '/../shared/api.php';
-$oauthDefaultSuccess = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/success';
-$oauthDefaultFailure = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/failure';
+$oauthDefaultSuccess = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/success';
+$oauthDefaultFailure = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/failure';
$oauth2Keys = [];
diff --git a/app/views/console/home/index.phtml b/app/views/console/home/index.phtml
index 736de09c55..413fc35bf3 100644
--- a/app/views/console/home/index.phtml
+++ b/app/views/console/home/index.phtml
@@ -132,10 +132,10 @@ $graph = $this->getParam('graph', false);
-
+
-