fix: check for auth method in array

This commit is contained in:
Tiago Vasconcelos
2026-05-07 10:21:03 +01:00
parent 9303e68e8c
commit 602c439d43
+1 -1
View File
@@ -21,7 +21,7 @@ window.PageHome = {
return (
this.lnurl !== '' &&
this.g.settings.allowRegister &&
'user-id-only' in this.g.settings.authMethods
this.g.settings.authMethods.includes('user-id-only')
)
},
formatDescription() {