go2null / redmine_account_policy

Password Expiry and other enhancements
GNU General Public License v3.0
4 stars 13 forks source link

make sure Redmine settings are saved and used #44

Open zaburt opened 5 years ago

zaburt commented 5 years ago

In newer Ruby (2.4.6) and Redmine (3.4.10) versions Redmine settings are not handled as HashWithIndifferentAccess, so using symbols for setting keys do not work anymore. You can try the behavior by going to Redmine Admin plugin settings page and try to change plugin settings, you will notice saving the settings will not work. These changes should fix that.

dwoods-encircle commented 5 years ago

Confirmed these commits fix the issues with 3.4. Good work guys! Thank you.