Fixing typo in URL
This commit is contained in:
parent
31b23d80ed
commit
4d29cfd9ba
@ -24,7 +24,7 @@ class Auth(BaseAuth):
|
||||
id = self.configuration.get("auth", "client_id")
|
||||
secret = self.configuration.get("auth", "client_secret")
|
||||
password = hashlib.sha512(salt + password.encode()).hexdigest()
|
||||
res2 = requests.post(self.get_server() + "/api/internel/password", params={
|
||||
res2 = requests.post(self.get_server() + "/api/internal/password", params={
|
||||
"client_id": id, "client_secret": secret}, json={"uid": user, "password": password})
|
||||
data2 = res2.json()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user