panel icon indicating copy to clipboard operation
panel copied to clipboard

Admin panel defaults Maintenance Mode setting to value of Behind Proxy

Open danny6167 opened this issue 2 years ago • 0 comments

Current Behavior

In the nodes settings page the current value of Maintenance Mode is set to the value of Behind Proxy when the form is submitted. This is due to the wrong key being passed to old() in the template

Expected Behavior

Save nodes settings page and the Maintenance Mode toggle value remains set to the value it had when the form was submitted

Steps to Reproduce

Open nodes settings page. turn on behind proxy mode and save changes. Observe that the Maintenance Mode value has also changed to match

Panel Version

1.11.5

Wings Version

N/A

Games and/or Eggs Affected

N/A

Docker Image

N/A

Error Logs

N/A

Is there an existing issue for this?

  • [X] I have searched the existing issues before opening this issue.
  • [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • [X] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

danny6167 avatar Nov 18 '23 19:11 danny6167