Skip to content

Commit

Permalink
version 2.23 bug fix release
Browse files Browse the repository at this point in the history
Fixed loss of data within config when reauthentication is required
  • Loading branch information
CasN committed Oct 23, 2024
1 parent 018937a commit cf70475
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ xxx 2013-03-07 samwilson Moved to Github for easier collaboration.
2.02 Bugfixes
2.03 Bugfixes
2.22 2024-6-21 cas Bugfixes (mainly in relation to newer php version)
2.23 2024-10-23 cas Fixed loss of data within config when reauthentication is required
2 changes: 1 addition & 1 deletion Reminder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ReminderPlugin extends MantisPlugin {
function register() {
$this->name = 'Reminder';
$this->description = lang_get( 'reminder_plugin_desc' );
$this->version = '2.22';
$this->version = '2.24';
$this->requires = array('MantisCore' => '2.0.0',);
$this->author = 'Cas Nuy';
$this->contact = 'Cas-at-nuy.info';
Expand Down
1 change: 1 addition & 0 deletions pages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function reminder_print_status_option_list( $p_name ) {
<div class="form-container" >
<br/>
<form action="<?php echo plugin_page( 'config_edit' ) ?>" method="post">
<?php echo form_security_field( 'plugin_format_config_edit' ) ?>
<div class="widget-box widget-color-blue2">
<div class="widget-header widget-header-small">
<h4 class="widget-title lighter">
Expand Down
1 change: 1 addition & 0 deletions pages/config_edit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
form_security_validate( 'plugin_format_config_edit' );
auth_reauthenticate();
access_ensure_global_level( config_get( 'manage_plugin_threshold' ) );

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 2.22 #
Version: 2.23 #
Devurl: https://github.com/mantisbt-plugins/Reminder/blob/master/version.txt #
Location: https://github.com/mantisbt-plugins/Reminder/archive/refs/heads/main.zip #

0 comments on commit cf70475

Please sign in to comment.