Commit aa926032 authored by roadscape's avatar roadscape
Browse files

isLoggedInWithKeychain state bug

parent 805746c1
...@@ -21,6 +21,10 @@ export function isLoggedInWithKeychain() { ...@@ -21,6 +21,10 @@ export function isLoggedInWithKeychain() {
if (!isLoggedIn()) { if (!isLoggedIn()) {
return false; return false;
} }
if (!hasCompatibleKeychain()) {
// possible to log in w/ keychain, then disable plugin
return false;
}
const data = localStorage.getItem('autopost2'); const data = localStorage.getItem('autopost2');
const [ const [
username, username,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment