So I just installed hassio yesterday and am excited to get it all up and running the way I want it to. One thing that is minor, but still annoying, is that every time I log in there is a pop up in the bottom right hand corner that asks if I want to remember this login. I click no every time, but it still pops up the next time I log in. Is there a way to turn that off completely?
Itâs behaving exactly as it was designed. By responding ânoâ, youâre refusing its offer to store the login information. If you donât store it, the message appears every time.
If you respond ânoâ, with the desire that it never asks again, itâll have to save your ânoâ decision locally so that next time itâll know it shouldnât ask.
The fact itâll have to save your decision locally is effectively what it currently does when you indicate âyesâ. So six of one, half a dozen of the other.
Choose âyesâ and the message goes away and no Feature Request is needed.
But to say that you have to choose âyesâ to make it go away is basically saying âuse the feature or dismiss it every timeâ. I donât want it to save my login information, and I donât want to have to tell it no every time I log in not to save it. I want it to remember that I donât want it to save it.
Sounds to me like this is a feature request. Iâll post in that forum instead. Thanks!
So what youâre saying is you want to supply a username and password each time you login and you donât want the reminder message?
If you donât want to supply a username and password each time and you donât want the reminder message, you may wish to look into using the trusted_networks option.
What Iâm saying is that I want to supply a username and password each time I login, and I donât want to have to tell it that I donât want it to remember each time I log in.
Iâm using Home Assistant 0.96.5. and it doesnâtâ matter whether I click save or donât save the âremember this loginâ shows up every time. I would like it to go away as well.
I know this is older, but I ran into the same issue. I donât want the âDo you want to stay logged in?â pop-up to appear as sometimes I am logging in on view-only device like a tv or somewhere it doesnât make sense
under config->lovelace->resources add a javascript module using the url /local/all.js?v=1
in the same dir as your configuration.yaml file, create a âwwwâ directory and save this file in it as all.js
// hide the "Do you want to stay logged in?" pop-up
// <ha-store-auth-card>
// /html/body/home-assistant//ha-store-auth-card
if(document.querySelector("body > home-assistant").shadowRoot.querySelector("ha-store-auth-card"))
document.querySelector("body > home-assistant").shadowRoot.querySelector("ha-store-auth-card").remove()
if this is the first time you are using the âwwwâ folder, you may have to restart home assistant before it will work.
note, this is current as of v0.112.4, installed from a HassOS image 4.11
if in the future, if you change or add things to all.js, edit the ?v=1 to ?v=2, etc, to force a browser reload.
I am running a docker installation of Home Assistant 2021.8.8 and I cannot block the popup using the js module method described above.
Any help is greatly appreciateed.
This prompt shows up on clients that are logged in automatically via the trusted network setting. I do not see the purpose of displaying it at all in those cases (whether I select yes or no, the login will happen again regardless because of trusted network) and often canât be interacted with anyway if itâs displayed on a headless device with no touchscreen.
This has worked for me up until core-2021.10.5 - after that update the âdo you want to stay logged inâ popup box will not go away even with your code snippet here. Any suggestions on how to fix it? Really happy I stumbled upon your note here when I didâŚ
I havenât updated that far yet⌠and I probably wonât until after christmas so nothing breaks when I donât have time to mess with it.
When I do update, iâll revisit the code snippet, iâm sure there is someway to make it work again.
The other direction I have been going is using the http node in nodered to create like an /endpoint/ api for some data that is needed by other systems. an url created with a http node in nodered can be accessed without any login info, so it makes a nice simple way to get data from home assistant to whatever other program you need.
I shouldnât have updated so eagerly. Well, if you ever do get around to upgrading Iâd love to know your solution. Iâll see if I can figure it out in my spare time as well. Good idea with the http node in nodred.