v0.19 Minor fix to match import code
This commit is contained in:
parent
f0163ce5d2
commit
17688f63d3
Binary file not shown.
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user