v0.19 Minor fix to match import code

This commit is contained in:
David Sainty 2024-08-29 20:41:32 +10:00
parent f0163ce5d2
commit 17688f63d3
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -4,7 +4,7 @@
# name: discourse-md5_authentication
# about: A plugin to authenticate users with MD5 passwords from legacy systems
# version: 0.18
# version: 0.19
# authors: saint@federated.computer
# url: https://gitea.federated.computer/saint/discourse-md5_authentication.git
@ -43,7 +43,7 @@ after_initialize do
Rails.logger.warn "MD5 -- CC -- user.present"
# Retrieve the provided password and custom MD5 password hash from user custom fields
password = params[:password]
custom_password_md5 = user.custom_fields['custom_password_md5']
custom_password_md5 = user.custom_fields['md5_password']
# Log the presence of custom MD5 hash for debugging
Rails.logger.warn "MD5 -- Check for MD5 password in custom field"