Skip to content

Commit

Permalink
fix: autologin enabled condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Jul 14, 2024
1 parent 835aa8a commit 7dfb19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/autologin/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getStored, setStored } from '@/shared/storage'

export async function autoLogIn() {
const enabled = await getStored('autologinEnabled')
if (!enabled) {
if (enabled === false) {
console.log('Auto login is disabled, skipping')
return false
}
Expand Down

0 comments on commit 7dfb19c

Please # to comment.