Put Logout-Button on Streamlit Sidebar
Closed this issue · 1 comments
weissenbacherpwc commented
Hi,
how can I put the Logout button onto the Streamlit Sidebar? At the moment I only see it in my main content.
if st.session_state["authentication_status"]:
authenticator.logout()
st.sidebar.write(f'Welcome *{st.session_state["name"]}*')
mkhorasani commented
Dear @weissenbacherpwc, please refer to the README. You can specify the location as main
, sidebar
, or unrendered
.