So, I changed the configuration.yaml file to change the password for login. However, when I log in, login and password aren’t requested…the page simply loads. And when I log out, the stock password and my new password BOTH WORK. Please advise. Thank you.
Switch to incognito mode or clear your cookies to see if it’s just a cache issue.
If that isn’t it post your config (sans password) so it can be checked.
How do I do that?
Which part?
In your browser use incognito/private browsing/ whatever your browswer calls it and try to access your HA front end.
To post your config just copy it and paste it here (replacing your password with something generic like password)
I had meant the config part. I thought I needed to upload something.
Here it is:
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 39.916665
longitude: -75.161554
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 20
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/New_York
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Uncomment this to add a password (recommended!)
# api_password: pwdtobeudpatedsoon
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: yr
# Show computer data
sensor:
- platform: cpuspeed
sensor:
- platform: dnsip
# Show Temporal data
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'time_date'
- 'time_utc'
- 'beat'
# Text to speech
tts:
- platform: google
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
In all the yaml files anything after a # symbol will be ignored. So even though you entered a password it is behind the # sign which is ignored by HA.
Remove the # before api_password.
Make sure api_password is indented by two spaces after you remove the # sign.
Save and restart and it should require the password.
that did it.
thank you.