Zelyanoth commited on
Commit
f3e0b9c
·
1 Parent(s): 68b8926
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import time
10
  import logging
11
  logging.getLogger('requests_oauthlib').setLevel(logging.DEBUG)
12
 
13
- mssage_callback = "Wait a mement, you will be redirected"
14
 
15
 
16
  import requests
@@ -56,6 +56,8 @@ def on_navigate(state, page_name: str):
56
  state.mssage_callback = "Your link has expired, please try again to register"
57
  time.sleep(1)
58
  navigate(state, "Accueil")
 
 
59
  else:
60
 
61
  state.authorization_url = full
 
10
  import logging
11
  logging.getLogger('requests_oauthlib').setLevel(logging.DEBUG)
12
 
13
+ mssage_callback = "Authentification success, close this tabs and return to the login page"
14
 
15
 
16
  import requests
 
56
  state.mssage_callback = "Your link has expired, please try again to register"
57
  time.sleep(1)
58
  navigate(state, "Accueil")
59
+ state.mssage_callback = "Authentification success, close this tabs and return to the login page"
60
+
61
  else:
62
 
63
  state.authorization_url = full