From 1ae9c3452123f6373d7b6bb629cd4f184b4e876a Mon Sep 17 00:00:00 2001 From: Sasha MOREL Date: Sat, 23 Nov 2019 21:38:36 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20du=20point=20d'entr?= =?UTF-8?q?=C3=A9e=20d'authentification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homesfr.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/homesfr.py b/homesfr.py index aada1fd..8d98568 100644 --- a/homesfr.py +++ b/homesfr.py @@ -52,11 +52,11 @@ class Common (): # path to login test self.auth_path = '/mysensors' self.auth_ok = '/accueil' # if logged - self.auth_post_url = 'https://boutique.home.sfr.fr/authentification' - self.auth_referer = 'https://boutique.home.sfr.fr/authentification?back=service' - self.auth_user_field = 'email' - self.auth_pass_field = 'passwd' - self.auth_extra_fields = {'back': 'service', 'token_sso': '', 'error_sso': '', 'SubmitLogin': 'OK'} + self.auth_post_url = 'https://cas.home.sfr.fr/authentification' + self.auth_referer = 'https://cas.home.sfr.fr/authentification' + self.auth_user_field = 'username' + self.auth_pass_field = 'password' + self.auth_extra_fields = {} self.auth_logout_path = '/deconnexion' # Path to sensors and mode