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)
|
rec = request.env["vertical.lift.command"].sudo().record_answer(answer)
|
||||||
return str(rec.id)
|
return str(rec.id)
|
||||||
else:
|
else:
|
||||||
_logger.error(
|
_logger.error("secret mismatch: %r", secret)
|
||||||
"secret mismatch: %r != %r",
|
|
||||||
secret,
|
|
||||||
os.environ.get("VERTICAL_LIFT_SECRET", ""),
|
|
||||||
)
|
|
||||||
raise http.AuthenticationError()
|
raise http.AuthenticationError()
|
||||||
|
|||||||
Reference in New Issue
Block a user