You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The places where this config is being checked needs to be updated to check the string value coming back from the config. At the moment, the conditions are assuming these are Booleans and evaluate to true for both string values ('true' / 'false')
The text was updated successfully, but these errors were encountered:
Current behaviour:
The resource validation is being applied whether the config value is set to 'true' or 'false'
Expected behaviour
Setting the validation.enabled value to 'false' should disable the resource validation
Bug solution
https://github.com/jembi/hearth/blob/master/lib/server.js#L70
hearth/lib/plugins/validator.js
Line 38 in 15fe33c
The places where this config is being checked needs to be updated to check the string value coming back from the config. At the moment, the conditions are assuming these are Booleans and evaluate to
true
for both string values ('true' / 'false')The text was updated successfully, but these errors were encountered: