I followed below link to create a login page for my streamlit application.
but i am getting below error all the time. can someone help please. HAve been struggling like anything.
i m using 0.4.2 version of streamlit-authenticator
name, authentication_status, username = authenticator.login(‘Login’, ‘main’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/homebrew/lib/python3.11/site-packages/streamlit_authenticator/views/authentication_view.py”, line 329, in login
raise ValueError(“Location must be one of ‘main’ or ‘sidebar’ or ‘unrendered’”)
ValueError: Location must be one of ‘main’ or ‘sidebar’ or ‘unrendered’