No more access to home assistant auth_providers Help!

New to Home Assistant, I’m working on using Sonoff’s NSPanel Pro as a simplified screen. For this device, I deactivated the identification dialog on the IP address set in my router. It works the way I want it to. During these modifications two other Home Assistant sessions were open, on the Mac and iPhone. When restarting Home Assistant on the Mac as on the iPhone, an inability to connect is displayed: Unable to connect to Home Assistant.
Retrying in 22 seconds…
From NSPAnel no problem. The NSPanel HA user is not an administrator, so I do not know how to modify the configuration. Using MAMP Pro I can edit this content file from a rescue on my Synology, this rescue is 1 month old!
Is it possible from a Mac or other to modify the configuration.yaml file directly or how to modify these lines:?

homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
……

Thank you