diff --git a/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep index d6edff1..a7483bd 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep @@ -66,58 +66,65 @@ %my $password_text = l("PASSWORD_RESET"); %if ($useraccounts_user_name eq 'admin') { %$actionModify = qq{ - % - % - % + % + % + % + %}; + %$actionResetPw = qq{ + % + % + % %}; %} else { %$actionModify = qq{ - % - % - % + % + % + % %}; %} %if ($password_set ne 'yes') { %$actionLock = l('ACCOUNT_LOCKED'); %$actionResetPw = qq{ - % - % - % + % + % + % %}; - %} else { + %} elsif ($useraccounts_user_name ne 'admin') { %my $lock_text = l('ACCOUNT LOCKED'); # Localized text %my $csrf_token = "TOKEN"; # CSRF token for security %my $useraccounts_user_name = $user->key; # useraccountss_entry name extracted from the data structure %$actionLock = qq{ - % - % - % - %}; + % + % + % + %}; %$actionResetPw = qq{ - % + % % - % + % %}; %} %if ( $removable eq 'yes' ) { %my $remove_text = l('REMOVE'); # Localized text %my $csrf_token = "TOKEN"; # CSRF token for security %$actionRemove = qq{ - % - % - % + % + % + % %}; %} @@ -127,20 +134,19 @@ %my $csrf_token = "TOKEN"; # CSRF token for security %my $useraccounts_user_name = $user->key; # useraccountss_entry name extracted from the data structure %$actionroundcube = qq{ - % - % - % + % + % + % %}; - - - <%= $c->render_to_string(inline => $actionModify) %> - <%= $c->render_to_string(inline => $actionResetPw) %> - <%= $c->render_to_string(inline => $actionLock) %> - <%= $c->render_to_string(inline => $actionRemove) %> - <%= $c->render_to_string(inline => $actionroundcube) %> - + + <%= $c->render_to_string(inline => $actionModify) %> + <%= $c->render_to_string(inline => $actionResetPw) %> + <%= $c->render_to_string(inline => $actionLock) %> + <%= $c->render_to_string(inline => $actionRemove) %> + <%= $c->render_to_string(inline => $actionroundcube) %> + % } @@ -150,4 +156,4 @@ %= hidden_field 'trt' => $usr_datas->{trt} - + \ No newline at end of file diff --git a/smeserver-manager.spec b/smeserver-manager.spec index edb2e26..b11998e 100644 --- a/smeserver-manager.spec +++ b/smeserver-manager.spec @@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2 %define name smeserver-manager Name: %{name} %define version 11.0.0 -%define release 37 +%define release 38 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -115,8 +115,11 @@ true %defattr(-,root,root) %changelog +* Sat Jan 11 2025 Brian Read 11.0.0-38.sme +- Fix password reset for admin in user panel [SME: 12655] + * Thu Jan 09 2025 Brian Read 11.0.0-37.sme -- Delete userpanelaccess from base (left in incorrectly after saome testing) [SME: 12839] +- Delete userpanelaccess from base (left in incorrectly after some testing) [SME: 12839] * Thu Jan 09 2025 Brian Read 11.0.0-36.sme - Fix spamassassin status not coming through from email filter panel to email settings panel [SME: 12868]