mkhorasani / Streamlit-Authenticator

A secure authentication module to manage user access in a Streamlit application.
Other
1.6k stars 252 forks source link

hash_list function is broken #230

Open Varun2101 opened 3 hours ago

Varun2101 commented 3 hours ago

Seems to be related to a recent commit (dab5966) where generate() was replaced with hash_list(). It was changed to be a classmethod but it still requires self as an input and uses self.passwords, which now fails.

https://github.com/mkhorasani/Streamlit-Authenticator/blob/56f9d75b003fe09f9e0df7d9ada65251f09fd269/streamlit_authenticator/utilities/hasher.py#L43-L44

Need to remove classmethod or change to a list input.

mkhorasani commented 3 hours ago

Terribly sorry, will fix this in the next release.