mgbam commited on
Commit
e777c17
·
verified ·
1 Parent(s): d09c9cf

Update services/auth.py

Browse files
Files changed (1) hide show
  1. services/auth.py +2 -1
services/auth.py CHANGED
@@ -26,7 +26,8 @@ def init_auth():
26
  authenticator = init_auth()
27
 
28
  def require_login():
29
- name, authentication_status, username = authenticator.login("Login", "sidebar")
 
30
  if not authentication_status:
31
  st.stop()
32
  return username
 
26
  authenticator = init_auth()
27
 
28
  def require_login():
29
+ # Only specify location now
30
+ name, authentication_status, username = authenticator.login(location="sidebar")
31
  if not authentication_status:
32
  st.stop()
33
  return username