diff --git a/app/controllers/web/console.php b/app/controllers/web/console.php index 8017eda767..69d42b8aa4 100644 --- a/app/controllers/web/console.php +++ b/app/controllers/web/console.php @@ -326,6 +326,7 @@ App::get('/console/users') $page ->setParam('auth', Config::getParam('auth')) ->setParam('providers', Config::getParam('providers')) + ->setParam('smtpEnabled', (!empty(App::getEnv('_APP_SMTP_HOST')))) ; $layout diff --git a/app/views/console/users/index.phtml b/app/views/console/users/index.phtml index 65b611be21..3e62f772bb 100644 --- a/app/views/console/users/index.phtml +++ b/app/views/console/users/index.phtml @@ -1,6 +1,7 @@ getParam('providers', []); $auth = $this->getParam('auth', []); +$smtpEnabled = $this->getParam('smtpEnabled', false); ?>
- Docs -
+ escape($name); ?>+ SMTP Disabled +
+ + ++ Docs +
+