Hi.
I am using the streamlit_authenticator module for a project. So I would like to reset all the variables whenever a user logs out. Is there any way to do that by using the authenticator.logout() method?
Hi @saminnimas
Perhaps you can explore using a conditional check of st.session_state["authentication_status"]
and if it is None
you can run a custom function that deletes the relevant session state variables.
Hope this helps!
It worked. Thank you sir.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.