Fix: wrong use of in operator (#3960)

This commit is contained in:
Tiago Vasconcelos
2026-05-08 11:38:12 +03:00
committed by GitHub
parent 8b426efa3e
commit 36d696b222
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -21,7 +21,7 @@ window.PageHome = {
return ( return (
this.lnurl !== '' && this.lnurl !== '' &&
this.g.settings.allowRegister && this.g.settings.allowRegister &&
'user-id-only' in this.g.settings.authMethods this.g.settings.authMethods.includes('user-id-only')
) )
}, },
formatDescription() { formatDescription() {