mkhorasani / Streamlit-Authenticator

A secure authentication module to validate user credentials in a Streamlit application.
Apache License 2.0
1.38k stars 229 forks source link

Add optional key= parm to logout #59

Closed vince-weka closed 1 year ago

vince-weka commented 1 year ago

If the app has several pages, and you put a logout button on each page, streamlit generates duplicate keys and complains about it.

Added optional key= parameter so the app can generate unique keys for streamlit.

vince-weka commented 1 year ago

README.md updated. I hope you like the wording. :)

mkhorasani commented 1 year ago

README.md updated. I hope you like the wording. :)

Can you give me access to edit this pull request? I just want to make some minor redactions.

vince-weka commented 1 year ago

Not quite sure how to do that... I granted access to my fork, which looks like what you need. (sorry, I'm still a bit new to this stuff. :) )

mkhorasani commented 1 year ago

Not quite sure how to do that... I granted access to my fork, which looks like what you need. (sorry, I'm still a bit new to this stuff. :) )

Thanks, I was able to edit it!