mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
stock_vertical_lift: do not log VERTICAL_LIFT_SECRET
This commit is contained in:
@@ -14,9 +14,5 @@ class VerticalLiftController(http.Controller):
|
||||
rec = request.env["vertical.lift.command"].sudo().record_answer(answer)
|
||||
return str(rec.id)
|
||||
else:
|
||||
_logger.error(
|
||||
"secret mismatch: %r != %r",
|
||||
secret,
|
||||
os.environ.get("VERTICAL_LIFT_SECRET", ""),
|
||||
)
|
||||
_logger.error("secret mismatch: %r", secret)
|
||||
raise http.AuthenticationError()
|
||||
|
||||
Reference in New Issue
Block a user