Skip to content

Commit d7f982d

Browse files
dirkdrutschmannBuxdehuda
authored andcommitted
Strato Login failed - added timeout
1 parent 3223516 commit d7f982d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

certbotstratoapi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import urllib
66

77
import pyotp
8+
import time
89
import requests
910
from bs4 import BeautifulSoup
1011

@@ -140,6 +141,7 @@ def login(
140141
"action_customer_login.x": "Login",
141142
}
142143

144+
time.sleep(2)
143145
request = self.http_session.post(self.api_url, data=data)
144146

145147
# Check 2FA Login

0 commit comments

Comments
 (0)