torrentleech: add login page form as error selector (#14414)

This commit is contained in:
Bogdan 2023-06-03 02:44:59 +03:00 committed by GitHub
parent 2b9d950f39
commit 41a5d3165e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ login:
- selector: .login-container h2:contains("One Time Password")
message:
text: "Your TorrentLeech account has 2FA enabled. Please recheck your indexer settings."
- selector: form[name="login-form"]
message:
text: "Login page detected at {{ .Config.sitelink }}."
test:
path: /
selector: a[href="/user/account/logout"]