1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-01-18 22:50:44 +00:00

Remove credentials

That's what I get for pushing right before bed. I anticipated this luckily so that was a temp password (normally use a password manager) 

If you don't already use a password manager, please look into it, keepass is a great start, free and open source
This commit is contained in:
Jacob McSwain 2019-09-26 11:26:04 -05:00 committed by GitHub
parent dd5e0906a6
commit 14d2e08c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ class NestAPI():
self._login(email, password) self._login(email, password)
self.update() self.update()
def _login(self, email = 'jacob.a.mcswain@gmail.com', password = 'ttlshiwwyaJ@'): def _login(self, email, password):
r = requests.post(f'{API_URL}/session', json={ r = requests.post(f'{API_URL}/session', json={
'email': email, 'email': email,
'password': password 'password': password