* Sat Jan 11 2025 Brian Read <brianr@koozali.org> 11.0.0-38.sme
- Fix password reset for admin in user panel [SME: 12655]
This commit is contained in:
parent
174e140a04
commit
5ef3a00a05
@ -72,6 +72,13 @@
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
%$actionResetPw = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=PWS&user=$useraccounts_user_name">
|
||||
% <button type='button' class='sme-password-button' title='$password_text' >
|
||||
% $password_text
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
%} else {
|
||||
%$actionModify = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=UPD&user=$useraccounts_user_name">
|
||||
@ -90,7 +97,7 @@
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
%} 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
|
||||
@ -133,7 +140,6 @@
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
|
||||
<td class='sme-border' style="min-width:35em">
|
||||
<%= $c->render_to_string(inline => $actionModify) %>
|
||||
<%= $c->render_to_string(inline => $actionResetPw) %>
|
||||
|
@ -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 <brianr@koozali.org> 11.0.0-38.sme
|
||||
- Fix password reset for admin in user panel [SME: 12655]
|
||||
|
||||
* Thu Jan 09 2025 Brian Read <brianr@koozali.org> 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 <brianr@koozali.org> 11.0.0-36.sme
|
||||
- Fix spamassassin status not coming through from email filter panel to email settings panel [SME: 12868]
|
||||
|
Loading…
Reference in New Issue
Block a user