Closed darshitsharma closed 3 months ago
Hi @darshitsharma, I'm not exactly sure why this is happening but perhaps you can use the following piece of code to remedy it:
if st.button('Logout'):
authenticator.logout(location='unrendered')
st.experimental_rerun()
Hi,
I am using
logout()
option in the code given below. The functionality is fine, it clears the session states but to render thelogin()
again I have to refresh the browser window. Could anyone help in this case?