Solved: Password protection not enabling

I’ve added the password bit in configuration.yaml, but Hass.io doesn’t show a password prompt.

http:
  api_password: YOUR_PASSWORD

I’m running hass.io 0.54 and didn’t see anything relevant in the logs on a restart, though I could have missed something. I’ve tried incognito mode in Chrome on my desktop as well as phone.

Any ideas on how to enable this?

Thanks

Turned out I had two http: sections in configuration.yaml. There was an error message to that effect in the logs on start up and it showed line numbers of the duplicates.