fix: check for auth method in array
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user