From 687e763684c8d42f26b1de7943daeaf7712f7c6e Mon Sep 17 00:00:00 2001 From: Brian Read Date: Sat, 13 Sep 2025 15:53:19 +0100 Subject: [PATCH] * Sat Sep 13 2025 Brian Read 11.0.0-114.sme - edit intial screen to suppress reconfig message unless admin logged in [SME: 13112] --- .../smanager/themes/default/templates/partials/_info.html.ep | 4 ++-- smeserver-manager.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep index 8cd5a51..3d01c20 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep @@ -4,7 +4,7 @@
Warning: you have not yet changed the default system password.
<% } %> - <% if ( $c->is_unsafe ) { %> + <% if ( $c->is_unsafe && $c->is_logged_in && $c->is_admin) { %>
Warning: a reconfigure and reboot is required before proceeding! Failure to do so now may leave your system in an unknown state!
@@ -22,4 +22,4 @@
Please, consult https://wiki.koozali.org/SME_Server:Download to get the latest version <% } %> - + \ No newline at end of file diff --git a/smeserver-manager.spec b/smeserver-manager.spec index dc5bd4a..6b5fd40 100644 --- a/smeserver-manager.spec +++ b/smeserver-manager.spec @@ -2,7 +2,7 @@ Summary: Sme Server Configuration : Manager 2 %define name smeserver-manager Name: %{name} %define version 11.0.0 -%define release 113 +%define release 114 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -146,6 +146,9 @@ true %defattr(-,root,root) %changelog +* Sat Sep 13 2025 Brian Read 11.0.0-114.sme +- edit intial screen to suppress reconfig message unless admin logged in [SME: 13112] + * Mon Aug 11 2025 Brian Read 11.0.0-113.sme - Re-factor all template files to make them nicely formatted [SME: 13103]