mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
Only ask to save login with new auth (#1581)
This commit is contained in:
parent
c025df2974
commit
bb3af18e46
@ -10,7 +10,7 @@ if (!tokenCache) {
|
||||
}
|
||||
|
||||
export function askWrite() {
|
||||
return tokenCache.writeEnabled === undefined;
|
||||
return tokenCache.tokens !== undefined && tokenCache.writeEnabled === undefined;
|
||||
}
|
||||
|
||||
export function storeTokens(tokens) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user