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"