umangchaudhry commited on
Commit
0852d5d
·
verified ·
1 Parent(s): 57929a0

Updated Authenticator issue

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,11 +72,11 @@ if not authentication_status:
72
  add_logos()
73
 
74
  # Render the login module
75
- name, authentication_status, username = authenticator.login('Login', 'main')
76
  # If the user is authenticated
77
  if authentication_status:
78
 
79
- authenticator.logout('Logout', 'main', key='unique_key')
80
  st.write(f'Welcome *{name}*')
81
 
82
  # Sidebar for navigation
 
72
  add_logos()
73
 
74
  # Render the login module
75
+ name, authentication_status, username = authenticator.login()
76
  # If the user is authenticated
77
  if authentication_status:
78
 
79
+ authenticator.logout()
80
  st.write(f'Welcome *{name}*')
81
 
82
  # Sidebar for navigation