From 54f0c3d78a90685eca6e45e39ebe89c257bb7eca Mon Sep 17 00:00:00 2001 From: saint Date: Fri, 30 Aug 2024 14:28:27 +1000 Subject: [PATCH] v0.20 Minor fix to match import code --- plugin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.rb b/plugin.rb index a7ba49d..8a70442 100644 --- a/plugin.rb +++ b/plugin.rb @@ -4,7 +4,7 @@ # name: discourse-md5_authentication # about: A plugin to authenticate users with MD5 passwords from legacy systems -# version: 0.19 +# version: 0.20 # authors: saint@federated.computer # url: https://gitea.federated.computer/saint/discourse-md5_authentication.git @@ -61,7 +61,7 @@ after_initialize do user.approved = true user.approved_at = Time.now user.approved_by_id = 1 - user.custom_fields['custom_password_md5'] = nil # Clear the custom MD5 field + user.custom_fields['md5_password'] = nil # Clear the custom MD5 field user.save! Rails.logger.warn "MD5 -- DD -- user.present"